Build scripts
This commit is contained in:
parent
f2614ad5ff
commit
c2632ffebc
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,4 +2,4 @@
|
|||||||
._*
|
._*
|
||||||
node_modules/
|
node_modules/
|
||||||
*.csv
|
*.csv
|
||||||
bundle.js
|
dist/
|
1760
package-lock.json
generated
1760
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -4,11 +4,14 @@
|
|||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"build": "npm run bundle && npm run copy:html",
|
||||||
|
"bundle": "browserify ./src/bom2table.js -o ./dist/bundle.js",
|
||||||
|
"copy:html": "cpy 'src/*.html' 'dist/'"
|
||||||
},
|
},
|
||||||
"author": "nplayfair",
|
"author": "nplayfair",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"cpy-cli": "^3.1.1",
|
||||||
"csvtojson": "^2.0.10"
|
"csvtojson": "^2.0.10"
|
||||||
},
|
},
|
||||||
"devDependencies": {}
|
"devDependencies": {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user