|
4 | 4 | "description": "",
|
5 | 5 | "scripts": {
|
6 | 6 | "ng": "ng",
|
7 |
| - "start": "npm run color-less && ng serve -o", |
| 7 | + "start": "npm run color-less && ng serve --proxy-config proxy.conf.json --host 0.0.0.0 -o", |
8 | 8 | "build": "npm run color-less && ng build --prod --build-optimizer",
|
9 | 9 | "test": "ng test",
|
10 |
| - "lint": "npm run lint:ts && npm run lint:style", |
| 10 | + "lint": "npm run lint:style", |
11 | 11 | "e2e": "ng e2e",
|
12 |
| - "watch": "ng serve --proxy-config proxy.conf.json --host 0.0.0.0 --disable-host-check", |
13 | 12 | "postinstall": "node ./scripts/pug-rule-insert.js",
|
14 |
| - "analyze": "npm run color-less && ng build --prod --build-optimizer --stats-json", |
15 |
| - "test-coverage": "ng test --code-coverage --watch=false", |
16 | 13 | "color-less": "node scripts/color-less.js",
|
17 | 14 | "lint:ts": "ng lint",
|
18 | 15 | "lint:style": "stylelint \"{src}/**/*.less\" --syntax less",
|
19 | 16 | "lint-staged": "lint-staged",
|
20 | 17 | "tslint-check": "tslint-config-prettier-check ./tslint.json",
|
21 |
| - "hmr": "ng serve -c=hmr", |
| 18 | + "hmr": "npm run color-less && ng serve -c=hmr", |
22 | 19 | "test:coverage": "jest --runInBand --coverage",
|
23 | 20 | "test:snapshot": "jest --coverage -u",
|
24 | 21 | "test:watch": "jest --clearCache && jest --watch"
|
25 | 22 | },
|
26 |
| - "author": "xiayinchang", |
| 23 | + "author": "coderiver", |
27 | 24 | "license": "MIT",
|
28 | 25 | "dependencies": {
|
29 |
| - "@angular/animations": "7.1.4", |
30 |
| - "@angular/cdk": "7.2.0", |
31 |
| - "@angular/common": "7.1.4", |
32 |
| - "@angular/compiler": "7.1.4", |
33 |
| - "@angular/core": "7.1.4", |
34 |
| - "@angular/flex-layout": "7.0.0-beta.22", |
35 |
| - "@angular/forms": "7.1.4", |
36 |
| - "@angular/http": "7.1.4", |
37 |
| - "@angular/material": "7.2.0", |
38 |
| - "@angular/platform-browser": "7.1.4", |
39 |
| - "@angular/platform-browser-dynamic": "7.1.4", |
40 |
| - "@angular/platform-server": "7.1.4", |
41 |
| - "@angular/router": "7.1.4", |
| 26 | + "@angular/animations": "7.2.0", |
| 27 | + "@angular/cdk": "7.2.1", |
| 28 | + "@angular/common": "7.2.0", |
| 29 | + "@angular/compiler": "7.2.0", |
| 30 | + "@angular/core": "7.2.0", |
| 31 | + "@angular/forms": "7.2.0", |
| 32 | + "@angular/platform-browser": "7.2.0", |
| 33 | + "@angular/platform-browser-dynamic": "7.2.0", |
| 34 | + "@angular/router": "7.2.0", |
42 | 35 | "@delon/abc": "^7.0.0-rc.1",
|
43 | 36 | "@delon/acl": "^7.0.0-rc.1",
|
44 | 37 | "@delon/auth": "^7.0.0-rc.1",
|
|
48 | 41 | "@delon/mock": "^7.0.0-rc.1",
|
49 | 42 | "@delon/theme": "^7.0.0-rc.1",
|
50 | 43 | "@delon/util": "^7.0.0-rc.1",
|
51 |
| - "ajv": "^6.4.0", |
52 |
| - "apollo-angular": "1.5.0", |
53 |
| - "apollo-angular-link-http": "1.4.0", |
54 |
| - "apollo-cache-inmemory": "1.3.12", |
55 |
| - "apollo-client": "2.4.8", |
56 |
| - "apollo-link-ws": "1.0.12", |
57 |
| - "apollo-server-express": "2.3.1", |
58 |
| - "body-parser": "1.18.3", |
59 |
| - "cookie-parser": "1.4.3", |
60 |
| - "core-js": "2.6.1", |
61 |
| - "express": "4.16.4", |
62 |
| - "glob": "7.1.3", |
63 |
| - "graphql": "14.0.2", |
64 |
| - "graphql-subscriptions": "1.0.0", |
65 |
| - "graphql-tag": "2.10.0", |
66 |
| - "graphql-tools": "4.0.3", |
67 |
| - "hammerjs": "2.0.8", |
68 |
| - "ng-alain": "^7.0.0-rc.1", |
69 | 44 | "ng-zorro-antd": "^7.0.0-rc.2",
|
70 |
| - "passport": "0.4.0", |
71 |
| - "passport-facebook-token": "3.3.0", |
72 |
| - "passport-google-plus-token": "2.1.0", |
73 |
| - "passport-jwt": "4.0.0", |
74 |
| - "passport-local": "1.0.0", |
75 |
| - "passport-twitter-token": "1.3.0", |
76 |
| - "redis": "2.8.0", |
77 |
| - "reflect-metadata": "0.1.12", |
78 |
| - "request": "2.88.0", |
79 | 45 | "rxjs": "6.3.3",
|
80 |
| - "rxjs-compat": "6.3.3", |
81 | 46 | "screenfull": "^4.0.0",
|
82 |
| - "subscriptions-transport-ws": "0.9.15", |
83 |
| - "ws": "6.1.2", |
84 | 47 | "zone.js": "0.8.26"
|
85 | 48 | },
|
86 | 49 | "devDependencies": {
|
87 |
| - "@angular-builders/jest": "^7.0.0", |
88 |
| - "@angular-devkit/build-angular": "0.11.4", |
89 |
| - "@angular/cli": "7.1.4", |
90 |
| - "@angular/compiler-cli": "7.1.4", |
91 |
| - "@angular/language-service": "7.1.4", |
| 50 | + "@angular-builders/jest": "^7.2.0", |
| 51 | + "@angular-devkit/build-angular": "0.12.1", |
| 52 | + "@angular/cli": "7.2.1", |
| 53 | + "@angular/compiler-cli": "7.2.0", |
92 | 54 | "@angularclass/hmr": "^2.1.3",
|
93 |
| - "@types/cookie-parser": "1.4.1", |
94 |
| - "@types/express": "4.16.0", |
95 |
| - "@types/glob": "7.1.1", |
96 |
| - "@types/graphql": "14.0.3", |
97 |
| - "@types/helmet": "0.0.42", |
98 | 55 | "@types/jasmine": "^3.3.0",
|
99 | 56 | "@types/jasminewd2": "^2.0.6",
|
100 |
| - "@types/jest": "^23.3.9", |
101 |
| - "@types/joi": "14.0.1", |
102 |
| - "@types/jsonwebtoken": "8.3.0", |
103 |
| - "@types/mongoose": "5.3.5", |
104 | 57 | "@types/node": "^10.12.9",
|
105 |
| - "@types/passport": "1.0.0", |
106 |
| - "@types/passport-jwt": "3.0.1", |
107 |
| - "@types/passport-local": "1.0.33", |
108 |
| - "@types/request": "2.48.1", |
109 |
| - "@types/ws": "6.0.1", |
110 | 58 | "apply-loader": "^2.0.0",
|
111 |
| - "codelyzer": "4.5.0", |
112 |
| - "concurrently": "4.1.0", |
| 59 | + "codelyzer": "^4.5.0", |
113 | 60 | "editorconfig-tools": "^0.1.1",
|
114 | 61 | "husky": "^1.2.0",
|
115 | 62 | "istanbul-reports": "^2.0.1",
|
|
120 | 67 | "jest-sonar-reporter": "^2.0.0",
|
121 | 68 | "less-bundle-promise": "^1.0.7",
|
122 | 69 | "lint-staged": "^8.0.5",
|
123 |
| - "ng-alain": "^7.0.0-rc.1", |
124 | 70 | "ngx-wallaby-jest": "0.0.1",
|
125 |
| - "node-sass": "4.11.0", |
126 |
| - "nodemon-webpack-plugin": "4.0.7", |
127 | 71 | "prettier": "^1.12.1",
|
128 | 72 | "prettier-stylelint": "^0.4.2",
|
129 | 73 | "protractor": "5.4.2",
|
130 | 74 | "pug": "^2.0.3",
|
131 | 75 | "pug-jest": "^1.0.1",
|
132 | 76 | "pug-loader": "^2.4.0",
|
133 |
| - "rimraf": "2.6.2", |
134 | 77 | "stylelint": "^9.2.0",
|
135 |
| - "stylelint-config-standard": "^18.2.0", |
136 |
| - "ts-loader": "5.3.2", |
137 | 78 | "ts-node": "7.0.1",
|
138 |
| - "tslint": "5.12.0", |
| 79 | + "tslint": "^5.12.0", |
139 | 80 | "tslint-config-prettier": "^1.12.0",
|
140 |
| - "tslint-language-service": "^0.9.9", |
141 |
| - "tslint-loader": "3.6.0", |
142 |
| - "typescript": "3.1.1", |
143 |
| - "webpack": "4.28.2", |
144 |
| - "webpack-cli": "3.1.2", |
145 |
| - "webpack-node-externals": "1.7.2" |
| 81 | + "typescript": "3.2.2", |
| 82 | + "webpack": "4.28.2" |
146 | 83 | },
|
147 | 84 | "lint-staged": {
|
148 |
| - "*.{cmd,html,json,md,sh,txt,xml,yml}": [ |
149 |
| - "editorconfig-tools fix", |
150 |
| - "git add" |
151 |
| - ], |
152 |
| - "*.ts": [ |
153 |
| - "npm run lint:ts", |
154 |
| - "prettier --write", |
155 |
| - "git add" |
156 |
| - ], |
157 |
| - "*.less": [ |
158 |
| - "npm run lint:style", |
159 |
| - "prettier --write", |
160 |
| - "git add" |
161 |
| - ], |
162 |
| - "ignore": [ |
163 |
| - "src/assets/*" |
164 |
| - ] |
| 85 | + "linters": { |
| 86 | + "*.{cmd,html,json,md,sh,txt,xml,yml}": [ |
| 87 | + "editorconfig-tools fix", |
| 88 | + "git add" |
| 89 | + ], |
| 90 | + "*.ts": [ |
| 91 | + "npm run lint:ts", |
| 92 | + "prettier --write", |
| 93 | + "git add" |
| 94 | + ], |
| 95 | + "*.less": [ |
| 96 | + "npm run lint:style", |
| 97 | + "prettier --write", |
| 98 | + "git add" |
| 99 | + ], |
| 100 | + "ignore": [ |
| 101 | + "src/assets/*" |
| 102 | + ] |
| 103 | + } |
165 | 104 | }
|
166 | 105 | }
|
0 commit comments