forked from single-spa/single-spa-angular
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
156 lines (156 loc) · 6.26 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
{
"name": "single-spa-angular",
"version": "0.0.0",
"description": "Helpers for building single-spa applications which use Angular 2+",
"repository": {
"type": "git",
"url": "git+https://github.com/single-spa/single-spa-angular.git"
},
"keywords": [
"single-spa",
"angular"
],
"author": "Joel Denning",
"maintainers": [
"Joel Denning",
"Artur Androsovych"
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/single-spa/single-spa-angular/issues"
},
"homepage": "https://github.com/single-spa/single-spa-angular#readme",
"private": true,
"scripts": {
"nx": "nx",
"postinstall": "node ./decorate-angular-cli.js && husky install",
"prepublishOnly": "yarn build && yarn test",
"clean": "rimraf lib",
"build": "yarn clean && yarn build:single-spa-angular && concurrently yarn:build:schematics yarn:build:webpack",
"test": "yarn clean && jest",
"lint": "eslint apps libs --ext ts",
"// - SINGLE-SPA-ANGULAR": "Scripts for building single-spa-angular",
"build:single-spa-angular": "nx build single-spa-angular --skip-nx-cache && cpx README.md lib",
"// - WEBPACK": "Scripts for building Webpack config transformer",
"prebuild:webpack": "rimraf lib/lib",
"build:webpack": "tsc -p tsconfig.webpack.json",
"// - SCHEMATICS": "Scripts for building schematics and copying its files",
"prebuild:schematics": "rimraf lib/schematics",
"build:schematics": "tsc -p tsconfig.schematics.json && concurrently yarn:copy:schematics:*",
"copy:schematics:json": "cpx schematics/schematics.json lib/schematics",
"copy:schematics:schema": "cpx \"schematics/ng-add/schema*\" lib/schematics/ng-add",
"copy:schematics:files": "cpx \"schematics/ng-add/_files/**/**\" lib/schematics/ng-add/_files",
"format": "prettier './**/*' --write",
"// - INTEGRATION INSTALLS": "Install packages for integration apps",
"serve:app:common": "nx serve --disable-host-check --live-reload false",
"serve:app:shop": "yarn serve:app:common shop --port 4200",
"serve:app:chat": "yarn serve:app:common chat --port 9000",
"serve:app:navbar": "yarn serve:app:common navbar --port 4300",
"serve:app:noop-zone": "yarn serve:app:common noop-zone --port 8000",
"serve:app:elements": "yarn serve:app:common elements --port 4000",
"serve:app:parcel": "yarn serve:app:common parcel --port 4400",
"serve:app:portal": "serve apps/portal -s -l 8080",
"serve:all": "concurrently yarn:serve:app:*",
"// - INTEGRATION BUILDS": "Build apps that are required for E2E testing #requires yarn install:integration",
"build:app:shop": "nx build shop --configuration production",
"build:app:chat": "nx build chat --configuration production",
"build:app:navbar": "nx build navbar --configuration production",
"build:app:noop-zone": "nx build noop-zone --configuration production",
"build:app:elements": "nx build elements --configuration production",
"build:app:parcel": "nx build parcel --configuration production",
"build:all": "nx run-many --target build --projects=shop,chat,navbar,noop-zone,elements,parcel --parallel --configuration production",
"// - APPS": "Serve apps that are required for E2E testing #requires yarn build:integration",
"start:all": "concurrently -n w: yarn:start:app:*",
"start:app:shop": "serve dist/apps/shop -s -l 4200 --cors",
"start:app:chat": "serve dist/apps/chat -s -l 9000 --cors",
"start:app:navbar": "serve dist/apps/navbar -s -l 4300 --cors",
"start:app:noop-zone": "serve dist/apps/noop-zone -s -l 8000 --cors",
"start:app:elements": "serve dist/apps/elements -s -l 4000 --cors",
"start:app:parcel": "serve dist/apps/parcel -s -l 4400 --cors",
"start:app:portal": "yarn serve:app:portal",
"// - E2E": "E2E testing",
"cy:open": "cypress open",
"cy:run": "cypress run",
"cy:run:chrome": "yarn cy:run --browser chrome",
"cy:run:chromium": "yarn cy:run --browser chromium",
"// - CI": "CI testing #requires yarn start:all",
"test:ci": "jest --run-in-band --silent",
"test:ci:integration": "yarn start-test start:all 8080 cy:run"
},
"devDependencies": {
"@angular-builders/custom-webpack": "13.0.0",
"@angular-devkit/build-angular": "13.0.3",
"@angular-devkit/core": "13.0.3",
"@angular-devkit/schematics": "13.0.3",
"@angular/animations": "13.0.3",
"@angular/cli": "13.0.3",
"@angular/common": "13.0.3",
"@angular/compiler": "13.0.3",
"@angular/compiler-cli": "13.0.3",
"@angular/core": "13.0.3",
"@angular/elements": "13.0.3",
"@angular/forms": "13.0.3",
"@angular/language-service": "13.0.3",
"@angular/platform-browser": "13.0.3",
"@angular/platform-browser-dynamic": "13.0.3",
"@angular/router": "13.0.3",
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@nrwl/angular": "13.2.1",
"@nrwl/cli": "13.2.1",
"@nrwl/nx-cloud": "12.5.4",
"@nrwl/workspace": "13.2.1",
"@types/jest": "27.0.3",
"@types/karma": "^6.1.0",
"@types/node": "15.12.1",
"@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11",
"@types/single-spa-react": "^2.12.0",
"@typescript-eslint/eslint-plugin": "4.19.0",
"@typescript-eslint/parser": "4.19.0",
"concurrently": "^5.1.0",
"cpx": "^1.5.0",
"cypress": "8.7.0",
"eslint": "7.22.0",
"eslint-plugin-prefer-arrow": "^1.2.0",
"husky": "^7.0.4",
"jest": "27.2.3",
"json5": "^2.1.3",
"lint-staged": "^12.1.1",
"ng-packagr": "13.0.6",
"postcss": "^8.3.9",
"postcss-import": "^14.0.2",
"postcss-preset-env": "^6.7.0",
"postcss-url": "^10.1.1",
"prettier": "2.4.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"rimraf": "^2.6.2",
"rxjs": "^7.4.0",
"serve": "^13.0.2",
"single-spa-react": "^3.1.0",
"start-server-and-test": "^1.12.0",
"style-loader": "^3.3.1",
"ts-jest": "27.0.5",
"tslib": "^2.0.0",
"typescript": "4.4.4",
"zone.js": "0.11.4"
},
"dependencies": {
"single-spa": ">= 5.4"
},
"prettier": {
"semi": true,
"singleQuote": true,
"arrowParens": "avoid",
"endOfLine": "lf",
"printWidth": 100,
"trailingComma": "all",
"bracketSpacing": true
},
"lint-staged": {
"*.{ts,html,scss,md,yml}": [
"prettier --write"
]
}
}