Simplified 'npm start' process

This commit is contained in:
Denys Vuika
2016-05-19 13:18:31 +01:00
parent 74f14b63b8
commit 8d9fb7ecd5
+2 -6
View File
@@ -4,15 +4,11 @@
"version": "0.1.0", "version": "0.1.0",
"author": "Alfresco Software, Ltd.", "author": "Alfresco Software, Ltd.",
"scripts": { "scripts": {
"prestart": "npm install",
"start.dev": "concurrently \"npm run tsc:w\" \"npm run serve\" ",
"start": "concurrently \"npm run tsc:w\" \"npm run serve\" ", "start": "concurrently \"npm run tsc:w\" \"npm run serve\" ",
"tsc": "tsc", "tsc": "tsc",
"tsc:w": "tsc -w -p tsconfig.dev.json", "tsc:w": "tsc -w",
"serve": "lite-server", "serve": "lite-server",
"typings": "typings", "typings": "typings"
"postinstall": "typings install && npm link ../ng2-components/ng2-alfresco-core && npm link ../ng2-components/ng2-alfresco-documentlist && npm link ../ng2-components/ng2-alfresco-login && npm link ../ng2-components/ng2-alfresco-upload && npm link ../ng2-components/ng2-alfresco-datatable",
"postupdate": "npm link ../ng2-components/ng2-alfresco-core && npm link ../ng2-components/ng2-alfresco-documentlist && npm link ../ng2-components/ng2-alfresco-login && npm link ../ng2-components/ng2-alfresco-upload && npm link ../ng2-components/ng2-alfresco-datatable"
}, },
"repository": { "repository": {
"type": "git", "type": "git",