mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Improve 'demo app' package config
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user