-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
53 lines (53 loc) · 1.45 KB
/
package.json
File metadata and controls
53 lines (53 loc) · 1.45 KB
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
{
"name": "splitio-react",
"version": "1.1.0",
"description": "react split-io wrapper library",
"repository": "https://github.com/kyle-ruan/splitio-react.git",
"main": "lib/index.js",
"module": "es/index.js",
"author": "Kyle Ruan",
"license": "MIT",
"scripts": {
"start": "react-scripts start",
"clean": "rm -rf ./lib ./es ./node_modules",
"prebuild": "yarn run clean && yarn",
"build": "yarn build:commonjs && yarn build:es",
"build:commonjs": "BABEL_ENV=commonjs babel src/lib --out-dir lib",
"build:es": "BABEL_ENV=es babel src/lib --out-dir es",
"format": "prettier-eslint --write 'src/**/*.js'",
"prepublishOnly": "rm -rf es lib && yarn build"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"babel-eslint": "^10.0.2",
"prettier-eslint-cli": "^5.0.0",
"react": "^16.8.1",
"react-scripts": "3.1.1"
},
"peerDependencies": {
"react": "^16.8.1"
},
"dependencies": {
"lodash": "^4.17.15"
}
}