-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
37 lines (37 loc) · 1.46 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"name": "sh78.github.io",
"version": "1.0.0",
"description": "Personal website/weblog/webtoy",
"main": "index.js",
"repository": "git@github.com:sh78/sh78.github.io.git",
"author": "Sean Henderson <mail@sean.sh>",
"license": "MIT",
"private": false,
"scripts": {
"dev": "concurrently \"npm run watch-js\" \"jekyll serve --drafts\"",
"build": "npm run libs && npm run es5 && JEKYLL_ENV=production jekyll build && bin/purify",
"deploy": "npm run build && cd _site && git pull && echo 'www.sean.sh' > CNAME && git add --all && git commit -m 'build for GitHub Pages' && git push origin master && cfcli purge https://www.sean.sh",
"es5": "npx babel --presets env _js/app.js --source-maps --out-file assets/js/app.es5.js",
"uglify-js": "cat assets/js/app.es5.js | npx uglifyjs > _site/assets/js/app.es5.js",
"preuglify-js": "npm run es5",
"libs": "npm run modernizr && bin/libs",
"watch-js": "npm run es5 -- --watch",
"modernizr": "npx modernizr --config modernizr.json --uglify --dest assets/js/modernizr.min.js",
"purify-css": "bin/purify",
"css-libs": "echo TODO"
},
"devDependencies": {
"anchor-js": "^4.1.0",
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.7.0",
"concurrently": "^3.5.1",
"jquery": "^3.3.1",
"jquery-ias": "^2.3.1",
"materialize-css": "^1.0.0-rc.1",
"modernizr": "^3.6.0",
"purify-css": "^1.2.5",
"typed.js": "^2.0.8",
"uglify-js": "^3.4.0"
},
"dependencies": {}
}