forked from floating-ui/react-popper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
116 lines (116 loc) · 3.74 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "react-popper",
"version": "1.3.0",
"description": "React wrapper around Popper.js",
"license": "MIT",
"author": "Travis Arnold <[email protected]> (http://souporserious.com)",
"homepage": "https://github.com/souporserious/react-popper",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"typings": "typings/react-popper.d.ts",
"files": [
"/dist",
"/lib",
"/typings/react-popper.d.ts"
],
"scripts": {
"build": "npm run build:clean && npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:flow",
"build:clean": "rimraf dist/ && rimraf lib/",
"build:umd": "rollup -c && rimraf dist/index.esm.js",
"build:esm": "cross-env BABEL_ENV=esm babel src --out-dir lib/esm",
"build:cjs": "cross-env BABEL_ENV=cjs babel src --out-dir lib/cjs",
"build:flow": "flow-copy-source --ignore '{__mocks__/*,*.test}.js' src lib/cjs",
"demo:dev": "parcel --out-dir demo/dist demo/index.html",
"demo:build": "parcel build --out-dir demo/dist demo/index.html --public-url=/react-popper",
"demo:deploy": "yarn demo:build && gh-pages -d demo/dist",
"test": "npm run test:eslint && npm run test:flow && npm run test:ts && npm run test:jest",
"test:ts": "tsc --project ./typings/tests",
"test:flow": "flow check",
"test:jest": "jest",
"test:eslint": "eslint src",
"prepare": "npm run build",
"precommit": "pretty-quick --staged && test",
"prepublishOnly": "git-branch-is master"
},
"jest": {
"setupTestFrameworkScriptFile": "<rootDir>jest.setup.js",
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
},
"repository": {
"type": "git",
"url": "https://github.com/souporserious/react-popper"
},
"bugs": {
"url": "https://github.com/souporserious/react-popper/issues"
},
"keywords": [
"react",
"react-popper",
"popperjs",
"component",
"drop",
"tooltip",
"popover"
],
"peerDependencies": {
"@types/react": "*",
"react": "0.14.x || ^15.0.0 || ^16.0.0"
},
"dependencies": {
"babel-runtime": "6.x.x",
"create-react-context": "^0.2.1",
"popper.js": "^1.14.4",
"prop-types": "^15.6.1",
"typed-styles": "^0.0.5",
"warning": "^3.0.0"
},
"devDependencies": {
"@types/react": "^16.1.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.2",
"babel-jest": "^22.4.3",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"cross-env": "^5.1.4",
"emotion": "^9.1.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-to-json": "^3.3.3",
"eslint": "^4.19.1",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-flowtype": "^2.46.1",
"eslint-plugin-jest": "^21.15.0",
"eslint-plugin-promise": "^3.7.0",
"eslint-plugin-react": "^7.7.0",
"flow-bin": "^0.69.0",
"flow-copy-source": "^1.3.0",
"gh-pages": "^1.1.0",
"git-branch-is": "^0.1.0",
"jest": "^22.4.3",
"parcel-bundler": "^1.6.2",
"prettier": "^1.11.1",
"pretty-quick": "^1.4.1",
"react": "16.2.0",
"react-dom": "^16.3.0",
"react-emotion": "^9.1.1",
"react-spring": "^4.0.1",
"recompose": "^0.26.0",
"rimraf": "^2.6.2",
"rollup": "^0.59.3",
"rollup-plugin-babel": "^3.0.4",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-size-snapshot": "^0.5.1",
"rollup-plugin-uglify": "^4.0.0",
"typescript": "^2.8.1"
}
}