Improve 'demo app' package config

This commit is contained in:
Denys Vuika
2016-07-15 12:08:07 +01:00
parent 696f381cc5
commit 94b0bfa1b1

View File

@@ -4,15 +4,14 @@
"version": "0.2.0", "version": "0.2.0",
"author": "Alfresco Software, Ltd.", "author": "Alfresco Software, Ltd.",
"scripts": { "scripts": {
"postinstall": "typings install",
"clean": "rimraf node_modules typings", "clean": "rimraf node_modules typings",
"start": "npm run tslint && typings install && concurrently \"npm run tsc:w\" \"license-check\" \"npm run serve\" ", "start": "npm run tslint && concurrently \"npm run tsc:w\" \"license-check\" \"npm run serve\" ",
"tsc": "tsc", "tsc": "tsc",
"tsc:w": "tsc -w", "tsc:w": "tsc -w",
"serve": "node browser-sync-config.js", "serve": "node browser-sync-config.js",
"typings": "typings install", "typings": "typings install",
"tslint": "npm run tslint-src && npm run tslint-root", "tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json app/{,**/}**.ts",
"tslint-src": "tslint -c tslint.json app/{,**/}**.ts",
"tslint-root": "tslint -c tslint.json *.ts",
"licensecheck": "license-check" "licensecheck": "license-check"
}, },
"repository": { "repository": {
@@ -95,14 +94,7 @@
}, },
"license-check-config": { "license-check-config": {
"src": [ "src": [
"**/*.js", "./dist/**/*.js"
"**/*.ts",
"!/**/coverage/**/*",
"!/**/demo/**/*",
"!/**/node_modules/**/*",
"!/**/typings/**/*",
"!*.js",
"!app/js/xml2json.js"
], ],
"path": "assets/license_header.txt", "path": "assets/license_header.txt",
"blocking": true, "blocking": true,