Set up npm run build to build dyna3
This commit is contained in:
parent
660f42b31f
commit
83318c7884
2 changed files with 8 additions and 1 deletions
|
@ -5,6 +5,13 @@
|
|||
"private": "true",
|
||||
"main": "dyna3.js",
|
||||
"scripts": {
|
||||
"clean": "rm -r site",
|
||||
"prebuild": "npm run clean",
|
||||
"build:coffee": "coffee -o site -c -m src/*.litcoffee",
|
||||
"build:ext":
|
||||
"coffee src/helpers/pkglock_to_externals.litcoffee > site/externals.js",
|
||||
"build:copy": "cp src/*.html site && cp -r node_modules site",
|
||||
"build": "npm run build:coffee && npm run build:ext && npm run build:copy",
|
||||
"test": "qunit"
|
||||
},
|
||||
"repository": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue