|
1 | 1 | { |
2 | 2 | "name": "carbondream", |
3 | | - "version": "0.1.3", |
| 3 | + "version": "0.2.0", |
4 | 4 | "description": "React web annotation engine", |
5 | 5 | "homepage": "http://carbondream.zeroarc.com/", |
6 | 6 | "main": "dist/entry.js", |
7 | 7 | "directories": { |
8 | 8 | "test": "test" |
9 | 9 | }, |
10 | 10 | "scripts": { |
11 | | - "build": "NODE_ENV=production $(npm bin)/babel --optional es7.objectRestSpread --optional es7.decorators src/ -d dist/ && cp -r node_modules/font-awesome/css web && cp -r node_modules/font-awesome/fonts web", |
12 | | - "watch": "NODE_ENV=production $(npm bin)/babel --watch --optional es7.objectRestSpread --optional es7.decorators src/ -d dist/ && cp -r node_modules/font-awesome/css web && cp -r node_modules/font-awesome/fonts web", |
13 | | - "demo-watch": "$(npm bin)/watchify --extension=.jsx -d -e src/demo.jsx -t [ babelify --optional es7.objectRestSpread --optional es7.decorators ] -s CarbonDream -o test/index.js -v ", |
14 | | - "demo-build": "$(npm bin)/browserify --extension=.jsx -e src/demo.jsx -t [ babelify --optional es7.objectRestSpread --optional es7.decorators ] -s CarbonDream -o test/index.js && cp -r node_modules/font-awesome/css web && cp -r node_modules/font-awesome/fonts web", |
| 11 | + "build": "NODE_ENV=production $(npm bin)/babel src/ -d dist/ && cp -r node_modules/font-awesome/css web && cp -r node_modules/font-awesome/fonts web", |
| 12 | + "watch": "NODE_ENV=production $(npm bin)/babel --watch src/ -d dist/ && cp -r node_modules/font-awesome/css web && cp -r node_modules/font-awesome/fonts web", |
| 13 | + "demo-watch": "$(npm bin)/watchify --extension=.jsx -d -e src/demo.jsx -s CarbonDream -o test/index.js -v ", |
| 14 | + "demo-build": "$(npm bin)/browserify --extension=.jsx -e src/demo.jsx -s CarbonDream -o test/index.js && cp -r node_modules/font-awesome/css web && cp -r node_modules/font-awesome/fonts web", |
15 | 15 | "prepublish": "npm run build", |
16 | 16 | "test": "echo \"Error: no test specified\" && exit 1" |
17 | 17 | }, |
|
29 | 29 | "bugs": { |
30 | 30 | "url": "https://github.com/ZeroarcSoftware/carbondream/issues" |
31 | 31 | }, |
| 32 | + "browserify": { |
| 33 | + "transform": [ |
| 34 | + [ |
| 35 | + "babelify", |
| 36 | + { |
| 37 | + "presets": [ |
| 38 | + "es2015", |
| 39 | + "react" |
| 40 | + ], |
| 41 | + "plugins": [ |
| 42 | + "transform-decorators-legacy", |
| 43 | + "transform-object-rest-spread" |
| 44 | + ] |
| 45 | + } |
| 46 | + ] |
| 47 | + ] |
| 48 | + }, |
| 49 | + "babel": { |
| 50 | + "presets": [ |
| 51 | + "es2015", |
| 52 | + "react" |
| 53 | + ], |
| 54 | + "plugins": [ |
| 55 | + "transform-decorators-legacy", |
| 56 | + "transform-object-rest-spread" |
| 57 | + ] |
| 58 | + }, |
32 | 59 | "devDependencies": { |
33 | | - "autobind-decorator": "^1.3.3", |
34 | | - "babel": "^5.8.23", |
35 | | - "babelify": "^6.3.0", |
| 60 | + "babel-cli": "^6.7.5", |
| 61 | + "babel-plugin-transform-decorators-legacy": "^1.3.4", |
| 62 | + "babel-plugin-transform-object-rest-spread": "^6.6.5", |
| 63 | + "babel-preset-es2015": "^6.6.0", |
| 64 | + "babel-preset-react": "^6.5.0", |
| 65 | + "babelify": "^7.2.0", |
36 | 66 | "browserify": "^13.0.0", |
| 67 | + "install": "^0.6.1", |
| 68 | + "npm": "^3.8.6", |
37 | 69 | "react-addons-shallow-compare": "^15.0.1", |
38 | 70 | "reflux": "^0.4.1", |
39 | 71 | "watchify": "^3.7.0" |
40 | 72 | }, |
41 | 73 | "dependencies": { |
| 74 | + "autobind-decorator": "^1.3.3", |
42 | 75 | "classnames": "^2.2.3", |
43 | 76 | "font-awesome": "^4.5.0", |
44 | 77 | "immutable": "^3.7.6", |
|
0 commit comments