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",
|
2018-11-06 14:50:41 +03:00
|
|
|
"broken-link-checker": "^0.7.6",
|
|
|
|
"valid-json-cli": "^1.3.0"
|
2017-10-04 01:18:41 +03:00
|
|
|
},
|
|
|
|
"dependencies": {},
|
|
|
|
"scripts": {
|
2017-11-07 14:00:43 +03:00
|
|
|
"check_links": "blc https://spacy.io -ro",
|
2017-11-01 23:11:10 +03:00
|
|
|
|
2018-04-29 03:06:46 +03:00
|
|
|
"rollup": "rollup www/assets/js/main.js --output.format iife --output.file www/assets/js/main.js",
|
|
|
|
"babel": "babel www/assets/js/main.js --out-file www/assets/js/main.js --presets=es2015",
|
|
|
|
"uglify": "uglifyjs www/assets/js/main.js --output www/assets/js/main.js",
|
2017-11-09 06:12:57 +03:00
|
|
|
|
2018-11-06 14:50:41 +03:00
|
|
|
"validate": "validjson universe/universe.json",
|
2017-11-09 06:12:57 +03:00
|
|
|
"compile": "NODE_ENV=deploy harp compile",
|
|
|
|
"bundle": "npm run rollup && npm run babel && npm run uglify",
|
2018-04-29 03:06:46 +03:00
|
|
|
"deploy": "rsync -P --compress --recursive --checksum --delete --exclude=\".*\" --exclude=\"*.vue.js\" --exclude=\"README.html\" --exclude \"package.json\" --exclude \"www\" www/ $1"
|
2017-10-04 01:18:41 +03:00
|
|
|
}
|
|
|
|
}
|