upgraded babel and added new yarn commands for common activities
Showing
| { | { | ||
| "scripts": { | |||
| "rebuild-set": "spago psc-package-insdhall", | |||
| "install-ps": "psc-package install", | |||
| "build": "pulp --psc-package browserify -t dist/bundle.js", | |||
| "repl": "pulp --psc-package repl", | |||
| "server": "webpack-dev-server --env dev --mode development" | |||
| }, | |||
| "dependencies": { | "dependencies": { | ||
| "@babel/polyfill": "^7.0.0", | |||
| "core-js": "^3", | |||
| "create-react-class": "^15.6.3", | "create-react-class": "^15.6.3", | ||
| "echarts": "^4.1.0", | "echarts": "^4.1.0", | ||
| "echarts-for-react": "^2.0.14", | "echarts-for-react": "^2.0.14", | ||
| ... | @@ -9,39 +18,19 @@ | ... | @@ -9,39 +18,19 @@ |
| "react-dom": "^16.4.2", | "react-dom": "^16.4.2", | ||
| "react-sigma": "git://github.com/np/react-sigma.git#shouldComponentUpdate" | "react-sigma": "git://github.com/np/react-sigma.git#shouldComponentUpdate" | ||
| }, | }, | ||
| "browserify": { | |||
| "transform": [ | |||
| [ | |||
| "babelify", | |||
| { | |||
| "presets": [ | |||
| "es2015", | |||
| "stage-0", | |||
| "react" | |||
| ] | |||
| } | |||
| ] | |||
| ] | |||
| }, | |||
| "babel": { | |||
| "presets": [ | |||
| "es2015", | |||
| "stage-0", | |||
| "react" | |||
| ] | |||
| }, | |||
| "devDependencies": { | "devDependencies": { | ||
| "babel-core": "^6.26.0", | "@babel/cli": "^7.1.5", | ||
| "babel-preset-es2015": "^6.24.1", | "@babel/core": "^7.1.6", | ||
| "babel-preset-react": "^6.24.1", | "@babel/preset-env": "^7.1.6", | ||
| "babel-preset-stage-0": "^6.24.1", | "@babel/preset-react": "^7.0.0", | ||
| "babel-runtime": "^6.26.0", | "@babel/preset-stage-2": "^7.0.0", | ||
| "babelify": "^8.0.0", | "babel-core": "^7.0.0-bridge", | ||
| "bower": "^1.8.4", | "envify": "^4.1.0", | ||
| "http-server": "^0.11.1", | "http-server": "^0.11.1", | ||
| "psc-package": "^0.3.2", | "psc-package": "^3.0.1", | ||
| "pulp": "^12.3.0", | "pulp": "^12.4.0", | ||
| "purescript": "^0.12.0" | "purescript": "^0.12.4", | ||
| "spago": "^0.7.5" | |||
| }, | }, | ||
| "version": "0.0.0" | "version": "0.0.0" | ||
| } | } |
Please register or sign in to comment