Skip to content

Commit 0554b04

Browse files
committed
Upd package.json
1 parent ba1bf5f commit 0554b04

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

package.json

+11-14
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
"description": "React component for Select2",
55
"main": "lib/components/Select2.js",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"start": "cd examples && node webpack.server.js",
8+
"watch": "cd examples && webpack --watch",
9+
"build": "cd examples && webpack -p",
10+
"compile": "babel --stage 0 -d lib/ src/",
11+
"prepublish": "npm run compile"
812
},
913
"repository": {
1014
"type": "git",
@@ -24,26 +28,19 @@
2428
"jquery": "^2.1.4"
2529
},
2630
"devDependencies": {
27-
"webpack": "^1.10.5",
28-
"webpack-dev-server": "^1.10.1",
29-
"extract-text-webpack-plugin": "^0.7.1",
30-
"css-loader": "^0.15.4",
31-
"style-loader": "^0.12.3",
3231
"babel": "^5.8.9",
3332
"babel-core": "^5.4.7",
3433
"babel-eslint": "^4.0.5",
3534
"babel-loader": "^5.3.2",
35+
"css-loader": "^0.15.4",
3636
"eslint": "^1.0.0",
3737
"eslint-config-airbnb": "^0.0.8",
3838
"eslint-plugin-react": "^3.2.0",
39-
"react-hot-loader": "^1.3.0"
40-
},
41-
"scripts": {
42-
"start": "cd examples && node webpack.server.js",
43-
"watch": "cd examples && webpack --watch",
44-
"build": "cd examples && webpack -p",
45-
"compile": "babel --stage 0 -d lib/ src/",
46-
"prepublish": "npm run compile"
39+
"extract-text-webpack-plugin": "^0.7.1",
40+
"react-hot-loader": "^1.3.0",
41+
"style-loader": "^0.12.3",
42+
"webpack": "^1.10.5",
43+
"webpack-dev-server": "^1.10.1"
4744
},
4845
"author": "Igor Romanov <[email protected]>",
4946
"license": "MIT",

0 commit comments

Comments
 (0)