Skip to content

Commit c5797a2

Browse files
committed
removed cross env, added babel cli
1 parent a633f75 commit c5797a2

File tree

2 files changed

+171
-28
lines changed

2 files changed

+171
-28
lines changed

package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"scripts": {
99
"storybook": "start-storybook -s ./public -p 9001 -c .storybook",
1010
"test": "echo \"Error: no test specified\" && exit 1",
11-
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
12-
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
11+
"build:commonjs": "BABEL_ENV=commonjs babel src --out-dir lib",
12+
"build:es": "BABEL_ENV=es babel src --out-dir es",
1313
"build": "yarn run build:commonjs && yarn run build:es",
1414
"clean": "rimraf lib es",
1515
"prepare": "yarn run clean && yarn run build"
@@ -30,18 +30,18 @@
3030
"devDependencies": {
3131
"@storybook/addon-actions": "^3.2.16",
3232
"@storybook/react": "^3.2.18",
33-
"react-responsive-select": "^3.0.10"
33+
"babel-cli": "^6.26.0",
34+
"babel-plugin-transform-class-properties": "^6.24.1",
35+
"babel-plugin-transform-object-rest-spread": "^6.26.0",
36+
"rimraf": "^2.6.2"
3437
},
3538
"dependencies": {
3639
"array.prototype.find": "^2.0.4",
37-
"babel-plugin-transform-class-properties": "^6.24.1",
38-
"babel-plugin-transform-object-rest-spread": "^6.26.0",
39-
"cross-env": "^5.1.1",
4040
"prop-types": "^15.6.0",
4141
"react": "^16.1.1",
4242
"react-dom": "^16.1.1",
4343
"react-slick": "^0.16.0",
44-
"rimraf": "^2.6.2",
45-
"styled-jsx": "^2.2.1"
44+
"styled-jsx": "^2.2.1",
45+
"react-responsive-select": "^3.0.10"
4646
}
4747
}

0 commit comments

Comments
 (0)