Created
April 8, 2018 14:19
-
-
Save tomardern/beaf95cf42d4b2fa98d94e4b65de1664 to your computer and use it in GitHub Desktop.
Angular + OnChange (Watch) + Pug
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "ng-tutorial", | |
"version": "0.0.0", | |
"license": "MIT", | |
"scripts": { | |
"pug:watch": "./node_modules/onchange/cli.js \"./src/app/**/*.pug\" -d 250 -- node node_modules/pug-cli/index.js {{changed}}", | |
"dev": "f(){ npm run pug:watch & ng serve ;};f", | |
"ng": "ng", | |
"start": "ng serve", | |
"build": "ng build --prod", | |
"test": "ng test", | |
"lint": "ng lint", | |
"e2e": "ng e2e" | |
}, | |
"private": true, | |
"dependencies": { | |
"@angular/animations": "^5.2.0", | |
"@angular/common": "^5.2.0", | |
"@angular/compiler": "^5.2.0", | |
"@angular/core": "^5.2.0", | |
"@angular/forms": "^5.2.0", | |
"@angular/http": "^5.2.0", | |
"@angular/platform-browser": "^5.2.0", | |
"@angular/platform-browser-dynamic": "^5.2.0", | |
"@angular/router": "^5.2.0", | |
"core-js": "^2.4.1", | |
"onchange": "^3.3.0", | |
"pug": "^2.0.3", | |
"pug-cli": "^1.0.0-alpha6", | |
"rxjs": "^5.5.6", | |
"zone.js": "^0.8.19" | |
}, | |
"devDependencies": { | |
"@angular/cli": "~1.7.4", | |
"@angular/compiler-cli": "^5.2.0", | |
"@angular/language-service": "^5.2.0", | |
"@types/jasmine": "~2.8.3", | |
"@types/jasminewd2": "~2.0.2", | |
"@types/node": "~6.0.60", | |
"codelyzer": "^4.0.1", | |
"jasmine-core": "~2.8.0", | |
"jasmine-spec-reporter": "~4.2.1", | |
"karma": "~2.0.0", | |
"karma-chrome-launcher": "~2.2.0", | |
"karma-coverage-istanbul-reporter": "^1.2.1", | |
"karma-jasmine": "~1.1.0", | |
"karma-jasmine-html-reporter": "^0.2.2", | |
"protractor": "~5.1.2", | |
"ts-node": "~4.1.0", | |
"tslint": "~5.9.1", | |
"typescript": "~2.5.3" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment