From 2cfd08e911cc7af48a28499f51c127dec7d160ad Mon Sep 17 00:00:00 2001 From: Karl-Philipp Wulfert Date: Tue, 8 Jan 2019 14:41:07 +0100 Subject: [PATCH] build: update scripts --- package.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index b4abb4fc..8f48e3bd 100644 --- a/package.json +++ b/package.json @@ -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