2017-10-04 01:18:41 +03:00
|
|
|
{
|
|
|
|
"name": "spacy.io",
|
|
|
|
"private": true,
|
|
|
|
"version": "2.0.0",
|
|
|
|
"description": "spacy.io website",
|
|
|
|
"author": "Explosion AI",
|
|
|
|
"license": "MIT",
|
|
|
|
"devDependencies": {
|
|
|
|
"babel-cli": "^6.14.0",
|
|
|
|
"harp": "^0.24.0",
|
2017-10-30 16:08:26 +03:00
|
|
|
"rollup": "^0.50.0",
|
2017-11-02 01:01:06 +03:00
|
|
|
"uglify-js": "^2.7.3",
|
|
|
|
"broken-link-checker": "^0.7.6"
|
2017-10-04 01:18:41 +03:00
|
|
|
},
|
|
|
|
"dependencies": {},
|
|
|
|
"scripts": {
|
2017-11-01 23:11:10 +03:00
|
|
|
"check_links": "blc https://alpha.spacy.io -ro",
|
|
|
|
|
2017-10-04 01:18:41 +03:00
|
|
|
"compile": "NODE_ENV=deploy harp compile",
|
2017-10-30 16:08:26 +03:00
|
|
|
"rollup_js": "rollup www/assets/js/rollup.js --output.format iife --output.file www/assets/js/rollup.js",
|
|
|
|
"compile_rollup": "babel www/assets/js/rollup.js --out-file www/assets/js/rollup.js --presets=es2015",
|
|
|
|
"uglify": "uglifyjs www/assets/js/rollup.js --output www/assets/js/rollup.js",
|
|
|
|
"build": "npm run compile && echo 'Compiled website' && npm run rollup_js && echo 'Bundled rollup.js' && npm run compile_rollup && echo 'Compiled rollup.js' && npm run uglify && echo 'Uglified rollup.js'"
|
2017-10-04 01:18:41 +03:00
|
|
|
}
|
|
|
|
}
|