build: update scripts

This commit is contained in:
Karl-Philipp Wulfert
2019-01-08 14:41:07 +01:00
parent a2ab90656f
commit 2cfd08e911

View File

@@ -16,12 +16,13 @@
"scripts": {
"build": "npm run tslint && npm run compile && npm run pack && npm run schema && npm run documentation",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"compile": "tsc && rimraf lib/cli.js lib/common.js lib/types.js",
"check-configuration": "openstapps-configuration",
"compile": "tsc",
"documentation": "typedoc --includeDeclarations --excludeExternals --mode modules --out docs src",
"pack": "openstapps-pack",
"prepareOnly": "npm run build",
"schema": "NODE_OPTIONS='--max-old-space-size=8192' openstapps-convert ./src/core ./lib/schema ./src/core/things/ ./src/core/protocol/ ./src/core/files/",
"test": "TS_NODE_COMPILER_OPTIONS='{\"noUnusedLocals\": false}' mocha --require ts-node/register --ui mocha-typescript test/*.spec.ts",
"prepublishOnly": "npm run build",
"schema": "NODE_OPTIONS='--max-old-space-size=8192' openstapps-core-tools schema src/core lib/schema",
"test": "mocha --require ts-node/register --ui mocha-typescript test/*.spec.ts",
"tslint": "tslint 'src/**/*.ts'"
},
"author": "Karl-Philipp Wulfert <krlwlfrt@gmail.com",