autorest
v3.0.5195 autorest rest swagger
start
node ./dist/app.js
test
mocha ./dist/test
build
npm run before-build && tsc -p .
watch
npm run before-build && tsc -p . --watch
set-version
node -e "let pkg = require('./package.json'); require('child_process').exec('git rev-list --parents HEAD --count --full-history .', (o,stdout) => { const v = pkg.version.split('.'); v[v.length-1] = (parseInt(stdout.trim()) + 4000); const orig=JSON.stringify(pkg,null,2); pkg.version = v.join('.'); const delta = JSON.stringify(pkg,null,2 ); if( orig !== delta) require('fs').writeFileSync('./package.json',delta)})"
reset-version
node -e "let pkg = require('./package.json'); const v = pkg.version.split('.'); v[v.length-1] = 0; const orig=JSON.stringify(pkg,null,2); pkg.version = v.join('.'); const delta = JSON.stringify(pkg,null,2 ); if( orig !== delta) require('fs').writeFileSync('./package.json',delta)"
static-link
static-link --force --no-node-modules
preinstall
node ./.scripts/preinstall-check
prepack
static-link --force --no-node-modules && npm run build
clean
pwsh -noprofile -command "remove-item -recurse -ea 0 ./dist ; remove-item -ea 0 ./*.log"
before-build
pwsh -noprofile -command "new-item -type directory -ea 0 ./dist/interfaces; copy-item -ea 0 ./interfaces/*.d.ts dist/interfaces"
npm i [email protected]
Metadata
- MIT
- >=10.13.0
- Microsoft Corporation
- released 4/18/2019