This repository has been archived by the owner on Oct 31, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
228 lines (228 loc) · 7.33 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
{
"name": "ngx-jsonapi-material-app",
"scripts": {
"build_lib": "ng build --prod ngx-jsonapi-material",
"cy:run": "start-server-and-test start :4200 'cypress run'",
"cy:open": "start-server-and-test start :4200 'cypress open'",
"npm_pack": "cd dist/ngx-jsonapi-material && npm pack",
"copy-license": "copy .\\LICENSE .\\dist\\ngx-jsonapi-material",
"copy-readme": "copy .\\README.md .\\dist\\ngx-jsonapi-material",
"copy-files": "npm run copy-license && npm run copy-readme",
"package": "npm run build_lib && npm run npm_pack",
"build": "ng build ngx-jsonapi-material --prod",
"build-ghpages": "yarn ng build --prod --base-href \"//reyesoft.github.io/ngx-jsonapi-material/\"",
"publish-ghpages": "yarn ngh --no-silent --dir=dist/ngx-jsonapi-material-app",
"postbuild": "rimraf **/dist/**/*.ngsummary.json",
"deploy:builds": "ts-node ./build/deploy-build.ts",
"lint": "ng lint ngx-jsonapi-material",
"test": "yarn test:lib",
"test:lib": "jest --config ./jest.lib.config.js",
"test:app": "jest --config ./jest.app.config.js",
"clean": "git clean -xdf && yarn && yarn run bootstrap",
"cli": "ng",
"coverage:html": "nyc report --reporter=html",
"copy:dist": "ncp dist/ ./node_modules/ngx-jsonapi-material/",
"start": "yarn run demo:start",
"demo:start": "yarn run cli serve",
"demo:start:aot": "yarn run cli serve -prod",
"demo:test": "jest --watch",
"demo:test:nowatch": "jest",
"demo:build": "yarn build && yarn run copy:dist && yarn cli build --prod --base-href \"/\" --output-path \"./dist/ngx-jsonapi-material-app\"",
"demo:release": "yarn demo:build && ts-node ./build/demo-release.ts",
"ci": "yarn run build && yarn run test && yarn test --coverage --silent --runInBand --bail",
"watch:tests": "chokidar 'src/**/*.ts' --initial -c 'nyc --reporter=text --reporter=html yarn run test:unit'",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"release": "yarn run build && cd dist/ngx-jsonapi-material && yarn publish",
"prettier": "yarn prettier-ts && yarn prettier-md && yarn prettier-scss",
"prettier-ts": "yarn prettier-ts:show --write",
"prettier-ts:show": "prettier --parser typescript --print-width 140 --tab-width 4 --use-tabs false --single-quote true --trailing-comma none \"src/**/*.ts\"",
"prettier-json": "yarn prettier-json:show --write",
"prettier-json:show": "prettier --parser json --single-quote es5 --tab-width 4 --print-width 140 --single-quote true \"**/*.json\"",
"prettier-md": "yarn prettier-md:show --write",
"prettier-md:show": "prettier --parser markdown --single-quote es5 --tab-width 4 --print-width 140 --single-quote true --prose-wrap never \"**/*.md\"",
"prettier-scss": "yarn prettier-scss:show --write",
"prettier-scss:show": "prettier --parser scss --single-quote es5 --tab-width 4 --print-width 140 --single-quote true \"**/*.scss\"",
"precommit": "lint-staged"
},
"lint-staged": {
"*.ts": [
"yarn prettier-ts",
"yarn lint --fix",
"git add"
],
"*.md": [
"yarn prettier-md",
"git add"
],
"*.scss": [
"yarn prettier-scss",
"git add"
],
"package.json": [
"node ./scripts/yarn-install.js",
"git add yarn.lock"
]
},
"engines": {
"node": ">=8.6.0",
"npm": ">=5.3.0",
"yarn": ">=1.3.0 <2.0.0"
},
"keywords": [
"jsonapi",
"json-api",
"angular"
],
"authors": [
"Reyesoft"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/reyesoft/ngx-jsonapi-material"
},
"nyc": {
"statements": 25,
"branches": 2,
"functions": 15,
"lines": 25,
"extension": [
".ts"
],
"exclude": [
"**/*.spec",
"**/spec/**/*",
"/src/schematics/src/*/files/**/*",
"**/schematics/src/utility/*"
],
"include": [
"**/*.ts"
]
},
"private": true,
"dependencies": {
"@angular/animations": "10.2.5",
"@angular/cdk": "10.2.7",
"@angular/common": "10.2.5",
"@angular/compiler": "10.2.5",
"@angular/core": "10.2.5",
"@angular/flex-layout": "10.0.0-beta.32",
"@angular/forms": "10.2.5",
"@angular/material": "10.2.7",
"@angular/platform-browser": "10.2.5",
"@angular/platform-browser-dynamic": "10.2.5",
"@angular/router": "10.2.5",
"@ecodev/fab-speed-dial": "5.0.3",
"@ngx-formly/core": "5.5.8",
"@ngx-formly/material": "5.5.8",
"@ngx-translate/core": "13.0.0",
"@ngx-translate/http-loader": "6.0.0",
"angular2-toaster": "11.0.1",
"core-js": "2.5.7",
"ngx-jsonapi": "2.2.1",
"ngx-uploader": "8.0.0",
"rxjs": "6.5.4",
"saturn-datepicker": "8.0.1",
"tslib": "^2.0.0",
"zone.js": "0.10.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "0.1002.3",
"@angular-devkit/build-ng-packagr": "0.1002.3",
"@angular/cli": "10.2.3",
"@angular/compiler-cli": "10.2.5",
"@angular/language-service": "10.2.5",
"@angular/platform-server": "10.2.5",
"@types/fs-extra": "2.1.0",
"@types/glob": "5.0.33",
"@types/jasmine": "2.8.6",
"@types/jasminewd2": "2.0.3",
"@types/jest": "24.9.1",
"@types/lodash": "^4.14.80",
"@types/node": "12.11.1",
"@types/ora": "^1.3.1",
"@types/rimraf": "^0.0.28",
"angular-cli-ghpages": "^0.6.0",
"chokidar": "^1.7.0",
"chokidar-cli": "^1.2.0",
"codelyzer": "^5.1.2",
"conventional-changelog": "^1.1.4",
"coveralls": "^3.0.5",
"cpy-cli": "^1.0.1",
"cypress": "^6.2.1",
"deep-freeze": "^0.0.1",
"fs-extra": "^2.1.2",
"gh-pages": "^1.1.0",
"glob": "^7.1.2",
"hammerjs": "^2.0.8",
"jasmine": "^2.5.3",
"jasmine-core": "~3.5.0",
"jasmine-marbles": "^0.0.2",
"jasmine-spec-reporter": "~5.0.0",
"jest": "26.6.3",
"jest-cli": "26.6.3",
"jest-preset-angular": "^8.4.0",
"jest-zone-patch": "^0.0.7",
"karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"lint-staged": "7.2.2",
"module-alias": "^2.0.0",
"ncp": "^2.0.0",
"ng-packagr": "^10.1.0",
"nyc": "^10.1.2",
"ora": "^1.3.0",
"prettier": "^1.12.0",
"protractor": "~7.0.0",
"reflect-metadata": "^0.1.9",
"reyesoft-ci": "^1.1.2",
"rimraf": "^2.5.4",
"rollup": "^0.50.0",
"rxjs-tslint-rules": "4.7.2",
"sorcery": "^0.10.0",
"start-server-and-test": "^1.11.7",
"ts-mockito": "^2.3.1",
"ts-node": "~5.0.1",
"tslint": "~6.1.0",
"typescript": "4.0.7",
"uglify-js": "^3.1.9"
},
"jest": {
"setupFilesAfterEnv": [
"<rootDir>/setup-jest.ts"
],
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.spec.json"
},
"__TRANSFORM_HTML__": true
},
"transform": {
"^.+\\.(ts|js|html)$": "ts-jest"
},
"testMatch": [
"<rootDir>/src/app/**/*.spec.ts"
],
"moduleFileExtensions": [
"ts",
"js",
"html",
"json"
],
"mapCoverage": true,
"coveragePathIgnorePatterns": [
"/node_modules/",
"/src/*.*/"
],
"transformIgnorePatterns": [
"node_modules/(?!ngx-jsonapi-material)",
"projects/ngx-jsonapi-material/src/lib/*.*"
],
"modulePathIgnorePatterns": [
"dist",
"node_modules/ngx-jsonapi-material"
]
}
}