-
-
Notifications
You must be signed in to change notification settings - Fork 78
Expand file tree
/
Copy pathpackage.json
More file actions
167 lines (167 loc) · 7.13 KB
/
package.json
File metadata and controls
167 lines (167 loc) · 7.13 KB
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
{
"name": "@single-spa-community/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": {
"postinstall": "husky install && patch-package && yarn build:system:angular",
"// - BINARIES": "We should not go to .bin folder directly (quick fix)",
"webpack": "./node_modules/.bin/webpack",
"webpack-dev-server": "./node_modules/.bin/webpack-dev-server",
"nx": "nx",
"serve": "NO_UPDATE_CHECK=1 serve",
"prepublishOnly": "yarn build && yarn test",
"clean": "rimraf lib",
"build": "yarn clean && yarn build:single-spa-angular && concurrently yarn:build:schematics yarn:build:webpack && yarn build:system",
"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-community-angular --skip-nx-cache && cpx README.md lib",
"// - WEBPACK": "Scripts for building Webpack config transformer",
"build:webpack": "rimraf lib/lib && tsc -p tsconfig.webpack.json",
"// - SYSTEM": "Scripts for building singla-spa-angular in SystemJS format",
"build:system:angular": "yarn rollup -c system/rollup-angular.config.js",
"build:system": "yarn rollup -c system/rollup.config.js",
"// - SCHEMATICS": "Scripts for building schematics and copying its files",
"build:schematics": "rimraf lib/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:shop": "yarn nx serve shop --disable-host-check --live-reload false --port 4200",
"serve:app:chat": "yarn nx serve chat --disable-host-check --live-reload false --port 9000",
"serve:app:navbar": "yarn nx serve navbar --disable-host-check --live-reload false --port 4300",
"serve:app:elements": "yarn nx serve elements --disable-host-check --live-reload false --port 4000",
"serve:app:parcel": "yarn nx serve parcel --disable-host-check --live-reload false --port 4400",
"serve:app:root-config": "yarn webpack-dev-server --config apps/root-config/webpack.config.js",
"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",
"build:app:chat": "nx build chat",
"build:app:navbar": "nx build navbar",
"build:app:elements": "nx build elements",
"build:app:parcel": "nx build parcel",
"build:app:root-config": "yarn webpack --mode production --config apps/root-config/webpack.config.js",
"build:all": "yarn build:app:root-config && nx run-many --target build --projects=shop,chat,navbar,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": "yarn serve dist/apps/shop -s -l 4200 --cors",
"start:app:chat": "yarn serve dist/apps/chat -s -l 9000 --cors",
"start:app:navbar": "yarn serve dist/apps/navbar -s -l 4300 --cors",
"start:app:elements": "yarn serve dist/apps/elements -s -l 4000 --cors",
"start:app:parcel": "yarn serve dist/apps/parcel -s -l 4400 --cors",
"start:app:root-config": "yarn serve dist/apps/root-config -s -l 8080 --cors",
"start:app:assets": "yarn serve system -s -l 4600 --cors",
"// - 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": "21.0.3",
"@angular-devkit/architect": "0.2101.2",
"@angular-devkit/build-angular": "21.1.2",
"@angular-devkit/core": "21.1.2",
"@angular-devkit/schematics": "21.1.2",
"@angular/animations": "21.1.2",
"@angular/build": "21.1.2",
"@angular/cli": "21.1.2",
"@angular/common": "21.1.2",
"@angular/compiler": "21.1.2",
"@angular/compiler-cli": "21.1.2",
"@angular/core": "21.1.2",
"@angular/elements": "21.1.2",
"@angular/forms": "21.1.2",
"@angular/language-service": "21.1.2",
"@angular/platform-browser": "21.1.2",
"@angular/platform-browser-dynamic": "21.1.2",
"@angular/router": "21.1.2",
"@babel/plugin-proposal-async-generator-functions": "^7.20.7",
"@commitlint/cli": "20.4.1",
"@commitlint/config-conventional": "20.4.1",
"@nx/angular": "22.4.5",
"@nx/workspace": "22.4.5",
"@rollup/plugin-babel": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-terser": "^0.4.4",
"@schematics/angular": "21.1.2",
"@types/jest": "29.4.4",
"@types/karma": "^6.1.0",
"@types/node": "25.2.0",
"@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11",
"@types/single-spa-react": "4.0.0",
"@types/systemjs": "^6.1.1",
"@typescript-eslint/eslint-plugin": "6.10.0",
"@typescript-eslint/parser": "6.10.0",
"autoprefixer": "^10.4.0",
"babel-plugin-dynamic-import-node": "2.3.3",
"concurrently": "^5.1.0",
"cpx": "^1.5.0",
"cypress": "9.5.2",
"eslint": "8.48.0",
"html-webpack-plugin": "^5.5.0",
"husky": "^7.0.4",
"jest": "29.4.3",
"jest-environment-jsdom": "29.4.3",
"jest-preset-angular": "16.0.0",
"json5": "^2.2.2",
"lint-staged": "^16.2.7",
"ng-packagr": "21.1.0",
"nx": "22.4.5",
"patch-package": "^8.0.1",
"postcss": "^8.3.9",
"postcss-import": "14.1.0",
"postcss-preset-env": "7.5.0",
"postcss-url": "10.1.3",
"prettier": "3.8.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"rimraf": "^2.6.2",
"rxjs": "~7.5.0",
"serve": "^14.2.5",
"single-spa-react": "4.6.0",
"start-server-and-test": "1.14.0",
"style-loader": "^3.3.1",
"ts-jest": "29.4.6",
"tslib": "^2.3.0",
"typescript": "5.9.3",
"webpack-cli": "^5.1.4",
"zone.js": "0.16.0"
},
"dependencies": {
"single-spa": ">= 5.4"
},
"prettier": {
"semi": true,
"singleQuote": true,
"arrowParens": "avoid",
"endOfLine": "lf",
"printWidth": 100,
"trailingComma": "all",
"bracketSpacing": true
}
}