mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-05 10:31:30 -06:00
To make this happen I updated to Babel 6 and changed to the es2015 preset since Firefox/Safari do NOT support classes, let, generators... Now that compiled code is not ES6 any more we can run Uglify on it too. 'Splore is 200k minimized which isn't terrible. Towards #603
35 lines
1007 B
JSON
35 lines
1007 B
JSON
{
|
|
"name": "noms",
|
|
"main": "dist/noms.js",
|
|
"dependencies": {
|
|
"rusha": "^0.8.3",
|
|
"text-encoding-utf-8": "^1.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"babel-cli": "^6.1.18",
|
|
"babel-core": "^6.1.20",
|
|
"babel-eslint": "^4.1.5",
|
|
"babel-plugin-syntax-async-functions": "^6.1.18",
|
|
"babel-plugin-syntax-flow": "^6.1.18",
|
|
"babel-plugin-transform-class-properties": "^6.2.2",
|
|
"babel-plugin-transform-regenerator": "^6.2.0",
|
|
"babel-polyfill": "^6.2.0",
|
|
"babel-preset-es2015": "^6.1.18",
|
|
"babel-preset-react": "^6.1.18",
|
|
"chai": "^3.2.0",
|
|
"eslint": "^1.9.0",
|
|
"eslint-plugin-react": "^3.8.0",
|
|
"flow-bin": "^0.18.1",
|
|
"mocha": "^2.3.0"
|
|
},
|
|
"scripts": {
|
|
"start": "babel -w src/ -d dist/",
|
|
"build": "babel src/ -d dist/",
|
|
"pretest": "eslint src/ && flow src/",
|
|
"test": "mocha --ui tdd --reporter dot --require babel-polyfill --compilers js:babel-core/register src/"
|
|
},
|
|
"browser": {
|
|
"./dist/fetch.js": "./dist/browser/fetch.js"
|
|
}
|
|
}
|