|
21 | 21 | ], |
22 | 22 | "devDependencies": { |
23 | 23 | "autoprefixer": "^6.0.3", |
24 | | - "babel": "^5.8.23", |
25 | | - "babel-core": "^5.8.23", |
26 | | - "babel-eslint": "^4.1.5", |
27 | | - "babel-loader": "^5.3.2", |
28 | | - "babel-plugin-react-transform": "^1.1.1", |
| 24 | + "babel-cli": "^6.4.0", |
| 25 | + "babel-core": "^6.4.0", |
| 26 | + "babel-eslint": "^5.0.0-beta6", |
| 27 | + "babel-loader": "^6.2.1", |
| 28 | + "babel-plugin-react-transform": "^2.0.0", |
| 29 | + "babel-polyfill": "^6.3.14", |
| 30 | + "babel-preset-es2015-loose": "^6.1.4", |
| 31 | + "babel-preset-react": "^6.3.13", |
| 32 | + "babel-preset-react-hmre": "^1.0.1", |
| 33 | + "babel-preset-stage-0": "^6.3.13", |
29 | 34 | "classnames": ">=2.1.2", |
30 | 35 | "cpx": "^1.2.1", |
31 | 36 | "cross-env": "^1.0.4", |
|
54 | 59 | "react-addons-test-utils": "^0.14.0", |
55 | 60 | "react-dom": "^0.14.3", |
56 | 61 | "react-hot-loader": "^1.3.0", |
57 | | - "react-transform-catch-errors": "^1.0.0", |
58 | | - "react-transform-hmr": "^1.0.1", |
59 | 62 | "redbox-react": "^1.1.1", |
60 | 63 | "rimraf": "^2.4.4", |
61 | 64 | "sass-loader": "^3.1.2", |
|
65 | 68 | "webpack-hot-middleware": "^2.4.1" |
66 | 69 | }, |
67 | 70 | "scripts": { |
68 | | - "babel": "babel ./src --out-dir ./lib", |
69 | | - "build": "cross-env NODE_ENV=production npm run babel && npm run sass", |
| 71 | + "compile": "./node_modules/.bin/babel -d ./lib ./src", |
| 72 | + "build": "cross-env NODE_ENV=production npm run compile && npm run sass", |
70 | 73 | "clean": "rimraf ./lib", |
71 | 74 | "lint": "eslint src test", |
72 | 75 | "patch": "bumped release patch", |
|
81 | 84 | "license": "MIT", |
82 | 85 | "peerDependencies": { |
83 | 86 | "flexboxgrid": "^6.3.0", |
| 87 | + "babel-polyfill": ">=6.0.0", |
84 | 88 | "react": "^0.14.3" |
85 | 89 | } |
86 | 90 | } |
0 commit comments