Build process using nexe.
This commit is contained in:
parent
8545858f29
commit
741132933b
|
@ -1,4 +1,6 @@
|
|||
node_modules
|
||||
tmp/*
|
||||
temp/*
|
||||
.nexe
|
||||
.nexe
|
||||
dist
|
||||
.DS_Store
|
|
@ -5,7 +5,7 @@
|
|||
"main": "v2f.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"build": "./node_modules/.bin/nexe ./ --build",
|
||||
"build": "sh ./scripts/build.sh",
|
||||
"compile": "./node_modules/.bin/tsc ./src/v2f.ts --outFile ./v2f.js --noImplicitAny --lib ES2017 --lib ES2016 -t ES2016",
|
||||
"docs": "./node_modules/.bin/jsdoc2md ./v2f.js > ./docs/Readme.md"
|
||||
},
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
mkdir -p dist
|
||||
./node_modules/.bin/nexe ./v2f.js --build --output ./dist/v2f
|
Loading…
Reference in New Issue