mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
#82 Unified static web server
- replaced ‘http-server’ and ‘lite-server’ with ‘wsrv’ dependency
This commit is contained in:
parent
8c2243dd9b
commit
abd045dc4f
@ -14,7 +14,7 @@
|
||||
"postinstall": "npm run typings && npm run build",
|
||||
"typings": "typings install",
|
||||
"start": "rm -rf dist && npm install && npm run server",
|
||||
"server": "lite-server",
|
||||
"server": "wsrv -o",
|
||||
"build": "npm run tslint && rm -rf dist && tsc",
|
||||
"tslint": "npm run tslint-src && npm run tslint-root",
|
||||
"tslint-src": "tslint -c tslint.json src/**/*.ts",
|
||||
@ -35,10 +35,10 @@
|
||||
"devDependencies": {
|
||||
"browser-sync": "^2.10.0",
|
||||
"concurrently": "^2.0.0",
|
||||
"lite-server": "^2.2.0",
|
||||
"tslint": "^3.8.1",
|
||||
"typescript": "^1.8.10",
|
||||
"typings": "^0.7.12"
|
||||
"typings": "^0.7.12",
|
||||
"wsrv": "^0.1.0"
|
||||
},
|
||||
"keywords": [
|
||||
"angular2",
|
||||
|
@ -5,8 +5,6 @@
|
||||
"author": "Alfresco Software, Ltd.",
|
||||
"scripts": {
|
||||
"typings": "typings install",
|
||||
"start": "npm run build && npm run server",
|
||||
"server": "http-server -c-1 -o -p 8875 .",
|
||||
"build": "npm run tslint && typings install && rm -rf dist && tsc && npm run copytemplates && license-check",
|
||||
"tslint": "npm run tslint-src && npm run tslint-root",
|
||||
"tslint-src": "tslint -c tslint.json src/**/*.ts, src/**/*.spec.ts ",
|
||||
@ -21,7 +19,7 @@
|
||||
"test": "karma start karma.conf.js --reporters mocha --single-run",
|
||||
"test-browser": "karma start karma.conf.js --reporters kjhtml ",
|
||||
"posttest": "node_modules/.bin/remap-istanbul -i coverage/report/coverage-final.json -o coverage/report -t html",
|
||||
"coverage": "http-server -c-1 -o -p 9875 ./coverage/report",
|
||||
"coverage": "wsrv -o -p 9875 ./coverage/report",
|
||||
"prepublish": "npm run build"
|
||||
},
|
||||
"repository": {
|
||||
@ -60,20 +58,20 @@
|
||||
"devDependencies": {
|
||||
"copyfiles": "^0.2.1",
|
||||
"coveralls": "^2.11.9",
|
||||
"http-server": "0.8.5",
|
||||
"jasmine-core": "2.4.1",
|
||||
"karma": "~0.13.22",
|
||||
"karma-chrome-launcher": "~1.0.1",
|
||||
"karma-coverage": "^1.0.0",
|
||||
"karma-jasmine": "~1.0.2",
|
||||
"karma-mocha-reporter": "^2.0.3",
|
||||
"karma-jasmine-html-reporter": "^0.2.0",
|
||||
"karma-mocha-reporter": "^2.0.3",
|
||||
"license-check": "^1.0.4",
|
||||
"remap-istanbul": "^0.6.3",
|
||||
"traceur": "^0.0.91",
|
||||
"tslint": "^3.8.1",
|
||||
"typescript": "^1.8.10",
|
||||
"typings": "^0.7.12"
|
||||
"typings": "^0.7.12",
|
||||
"wsrv": "^0.1.0"
|
||||
},
|
||||
"license-check-config": {
|
||||
"src": [
|
||||
|
Loading…
x
Reference in New Issue
Block a user