|
4 | 4 | "description": "React component for Select2",
|
5 | 5 | "main": "lib/components/Select2.js",
|
6 | 6 | "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" |
8 | 12 | },
|
9 | 13 | "repository": {
|
10 | 14 | "type": "git",
|
|
24 | 28 | "jquery": "^2.1.4"
|
25 | 29 | },
|
26 | 30 | "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", |
32 | 31 | "babel": "^5.8.9",
|
33 | 32 | "babel-core": "^5.4.7",
|
34 | 33 | "babel-eslint": "^4.0.5",
|
35 | 34 | "babel-loader": "^5.3.2",
|
| 35 | + "css-loader": "^0.15.4", |
36 | 36 | "eslint": "^1.0.0",
|
37 | 37 | "eslint-config-airbnb": "^0.0.8",
|
38 | 38 | "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" |
47 | 44 | },
|
48 | 45 | "author": "Igor Romanov <[email protected]>",
|
49 | 46 | "license": "MIT",
|
|
0 commit comments