|
|
|
@ -8,7 +8,6 @@
|
|
|
|
|
"check": "node ./scripts/zip-and-check.cjs", |
|
|
|
|
"commit-msg": "commitlint -e", |
|
|
|
|
"copy:css": "cleancss ./src/css/* -o ./dist/main.css", |
|
|
|
|
"copy:icons": "cp ./src/favicon.ico ./dist/ && cp ./src/icon.png ./dist", |
|
|
|
|
"coverage": "nyc npm run test", |
|
|
|
|
"deploy": "gh-pages -d ./dist -r git@github.com:Ryuno-Ki/js13kgames-2021.git", |
|
|
|
|
"docs": "jsdoc -c ./.jsdoc.conf.json -d ./docs -P ./package.json -R README.md -r ./src", |
|
|
|
@ -16,7 +15,7 @@
|
|
|
|
|
"lint:js": "eslint ./src", |
|
|
|
|
"lint:md": "markdownlint --ignore ./node_modules **/*.md", |
|
|
|
|
"postbuild": "npm run copy:css && npm run check", |
|
|
|
|
"postpost-process": "rm ./dist/index.njk ./dist/main.css ./dist/app.js", |
|
|
|
|
"postpost-process": "rm ./dist/*.njk ./dist/*.css ./dist/*.js", |
|
|
|
|
"posttest": "npm run tsd", |
|
|
|
|
"post-process": "node -e \"var n=require('nunjucks');console.log(n.render('./dist/index.njk'))\" > ./dist/index.html", |
|
|
|
|
"prebuild": "npm run docs", |
|
|
|
|