mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Add website package.json and fix gitignore
This commit is contained in:
parent
80a2fb6193
commit
bfb512f45a
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -7,8 +7,6 @@ keys/
|
|||
# Website
|
||||
website/www/
|
||||
website/_deploy.sh
|
||||
website/package.json
|
||||
website/announcement.jade
|
||||
website/.gitignore
|
||||
|
||||
# Cython / C extensions
|
||||
|
|
20
website/package.json
Normal file
20
website/package.json
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"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",
|
||||
"uglify-js": "^2.7.3"
|
||||
},
|
||||
"dependencies": {},
|
||||
"scripts": {
|
||||
"compile": "NODE_ENV=deploy harp compile",
|
||||
"compile_js": "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",
|
||||
"build": "npm run compile && npm run compile_js && npm run uglify"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user