-
Notifications
You must be signed in to change notification settings - Fork 52
/
package.json
161 lines (161 loc) · 5.13 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
{
"name": "ngx-jsonapi-demo",
"description": "Demo app for JSON API library for Angular",
"scripts": {
"build": "ts-node ./build/index.ts",
"postbuild": "rimraf **/dist/**/*.ngsummary.json",
"deploy:builds": "ts-node ./build/deploy-build.ts",
"lint": "ng lint ngx-jsonapi",
"test": "yarn test:lib",
"test:all": "yarn test:lib && yarn build && yarn test:demo",
"test:lib": "jest --config ./jest.lib.config.js",
"test:demo": "jest --config ./jest.demo.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/",
"start": "yarn run demo:start",
"demo:start": "yarn run cli serve",
"demo:start:aot": "yarn run cli serve -prod",
"demo:test": "jest --config ./jest.demo.config.js",
"demo:build": "yarn build && yarn run copy:dist && yarn cli build --prod --base-href \"/\" --output-path \"./demo-dist\"",
"demo:release": "yarn demo:build && ts-node ./build/demo-release.ts",
"ci": "yarn postinstall && yarn run build && yarn run test -w 1 --coverage && cat ./coverage/lcov.info | coveralls",
"watch:tests": "chokidar 'src/**/*.ts' --initial -c 'nyc --reporter=text --reporter=html yarn test'",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"release": "yarn run build && cd dist && 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 --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 --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 --tab-width 4 --print-width 140 --single-quote true \"**/*.scss\"",
"postinstall": "ngcc",
"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": [
"Pablo Gabriel Reyes"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/reyesoft/ngx-jsonapi"
},
"nyc": {
"statements": 25,
"branches": 2,
"functions": 15,
"lines": 25,
"extension": [
".ts"
],
"exclude": [
"**/*.spec",
"**/spec/**/*",
"/src/schematics/src/*/files/**/*",
"**/schematics/src/utility/*"
],
"include": [
"**/*.ts"
]
},
"devDependencies": {
"@angular-devkit/build-angular": "0.1002.3",
"@angular/animations": "10.2.5",
"@angular/cli": "10.2.3",
"@angular/common": "10.2.5",
"@angular/compiler": "10.2.5",
"@angular/compiler-cli": "10.2.5",
"@angular/core": "10.2.5",
"@angular/forms": "10.2.5",
"@angular/platform-browser": "10.2.5",
"@angular/platform-browser-dynamic": "10.2.5",
"@angular/platform-server": "10.2.5",
"@angular/router": "10.2.5",
"@types/faker": "^4.1.5",
"@types/fs-extra": "^2.1.0",
"@types/glob": "^5.0.33",
"@types/jest": "^24.0.18",
"@types/node": "^12.11.1",
"@types/ora": "^1.3.1",
"@types/rimraf": "^0.0.28",
"chokidar": "^1.7.0",
"chokidar-cli": "^1.2.0",
"codelyzer": "^5.1.2",
"core-js": "^2.4.1",
"coveralls": "^3.0.6",
"cpy-cli": "^1.0.1",
"deep-freeze": "^0.0.1",
"fake-indexeddb": "^2.1.1",
"faker": "^4.1.0",
"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": "^24.9.0",
"jest-preset-angular": "^7.1.1",
"jest-zone-patch": "^0.0.10",
"lint-staged": "7.2.2",
"module-alias": "^2.0.0",
"ncp": "^2.0.0",
"nyc": "^14.1.1",
"ora": "^1.3.0",
"prettier": "^1.12.0",
"protractor": "7.0.0",
"reflect-metadata": "^0.1.9",
"reyesoft-ci": "1.0.2",
"rimraf": "^2.5.4",
"rollup": "^0.50.0",
"rxjs-tslint-rules": "4.7.2",
"sorcery": "^0.10.0",
"ts-mockito": "^2.3.1",
"ts-node": "^3.1.0",
"typescript": "3.9.2",
"uglify-js": "3.1.9",
"zone.js": "~0.10.2"
},
"dependencies": {
"axios": "^0.21.1",
"dexie": "^2.0.4",
"lodash-es": "^4.17.15",
"rxjs": "6.6.7",
"tsickle": "^0.39.1",
"tslib": "2.0.0"
}
}