-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
184 lines (184 loc) · 6.59 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
{
"name": "@micro-lc/back-kit-engine",
"version": "1.0.20",
"description": "engine to sync react over webcomponents scaffolding + backoffice utils and types/interfaces",
"license": "SEE LICENSE IN LICENSE",
"author": "Mia Platform Core Team <[email protected]>",
"contributors": [
"Umberto Toniolo <[email protected]>",
"Leonardo Romano <[email protected]>",
"Fabio Stabile <[email protected]>",
"Claudio Benedetti <[email protected]>"
],
"repository": {
"type": "git",
"url": "[email protected]:micro-lc/back-kit-engine.git"
},
"packageManager": "[email protected]",
"files": [
"./base",
"./dist",
"./engine",
"./utils",
"./west",
"./package.json",
"./tsconfig.json"
],
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"require": "./dist/cjs/index.js",
"import": "./dist/es/index.js"
},
"./base": {
"types": "./dist/types/base/index.d.ts",
"require": "./dist/cjs/base/index.js",
"import": "./dist/es/base/index.js"
},
"./engine": {
"types": "./dist/types/engine/index.d.ts",
"require": "./dist/cjs/engine/index.js",
"import": "./dist/es/engine/index.js"
},
"./utils": {
"types": "./dist/types/utils/index.d.ts",
"require": "./dist/cjs/utils/index.js",
"import": "./dist/es/utils/index.js"
},
"./west": {
"types": "./dist/types/west/index.d.ts",
"require": "./dist/cjs/west/index.js",
"import": "./dist/es/west/index.js"
}
},
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"types": "./dist/types/index.d.ts",
"bin": {
"docgen": "./dist/bin/docgen/index.js"
},
"scripts": {
"clear": "rimraf node_modules dist coverage",
"lint": "eslint . --ext .js,.ts,.jsx,.tsx",
"playground": "wds --node-resolve --open --app-index pages/index.html",
"test:bke": "jest",
"test:west": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"CommonJS\" }' ts-mocha 'test/**/*.test.ts'",
"test": "run-p test:bke test:west",
"test:firefox": "wtr \"test/**/*.spec.ts\" --node-resolve --playwright --browsers firefox",
"test:browser": "wtr \"test/**/*.spec.ts\" --node-resolve --playwright --browsers firefox chromium",
"coverage:bke": "jest --coverage",
"coverage:west": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' nyc ts-mocha 'test/**/*.test.ts'",
"coverage:browser": "yarn test:browser --coverage",
"coverage:browser:ci": "yarn test:browser --coverage --browsers webkit",
"coverage:cobertura:merge": "cobertura-merge -o coverage/cobertura-coverage.xml package1=coverage/bke/cobertura-coverage.xml package2=coverage/west/cobertura-coverage.xml package3=coverage/e2e/cobertura-coverage.xml",
"coverage:lcov:merge": "yarn dlx lcov-result-merger 'coverage/*/lcov.info' coverage/lcov.info",
"coverage:lib": "run-p coverage:bke coverage:west coverage:browser",
"coverage": "run-s coverage:lib coverage:lcov:merge coverage:cobertura:merge",
"coverage:ci": "run-s coverage:bke coverage:west coverage:browser:ci coverage:lcov:merge coverage:cobertura:merge",
"build:es": "tsc --project scripts/tsconfig.es.json",
"build:cjs": "tsc --project scripts/tsconfig.cjs.json",
"build:types": "tsc --project scripts/tsconfig.types.json",
"build:docgen": "tsc --project scripts/tsconfig.docgen.json",
"build": "run-p build:es build:cjs build:types build:docgen",
"docs:clear": "rimraf docs",
"docs:events": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' ts-node src/docgen --entryPoints src/events/bk/index.ts --type events",
"docs:components": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' ts-node src/docgen --entryPoints src/base/index.ts --type components",
"docs": "run-p docs:events",
"postinstall": "husky install",
"prepublish": "pinst --disable"
},
"devDependencies": {
"@babel/core": "^7.18.9",
"@babel/plugin-transform-modules-commonjs": "^7.18.6",
"@babel/preset-env": "^7.18.9",
"@babel/preset-typescript": "^7.18.6",
"@esm-bundle/chai": "^4.3.4-fix.0",
"@esm-bundle/chai-as-promised": "^7.1.1",
"@esm-bundle/classnames": "^2.3.1",
"@esm-bundle/react": "17.0.2-fix.1",
"@esm-bundle/react-dom": "17.0.2-fix.0",
"@esm-bundle/react-is": "^18.2.0",
"@jest/types": "^27.4.2",
"@open-wc/testing": "^3.1.6",
"@open-wc/testing-helpers": "^2.1.2",
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-commonjs": "^22.0.1",
"@rollup/plugin-replace": "^4.0.0",
"@testing-library/jest-dom": "^5.16.4",
"@types/chai": "^4.3.1",
"@types/chai-as-promised": "^7.1.5",
"@types/jest": "^28.1.4",
"@types/json-schema": "^7.0.11",
"@types/lodash-es": "^4",
"@types/mkdirp": "^1",
"@types/mock-require": "^2.0.1",
"@types/node": "^18.0.3",
"@types/prettier": "^2",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@types/rimraf": "^3",
"@types/sinon": "^10.0.12",
"@types/sinon-chai": "^3",
"@types/uuid": "^8.3.4",
"@types/yargs": "^17",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"@web/dev-server": "^0.1.32",
"@web/dev-server-esbuild": "^0.3.1",
"@web/dev-server-rollup": "^0.3.18",
"@web/test-runner": "^0.13.31",
"@web/test-runner-playwright": "^0.8.9",
"antd": "^4.23.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"cobertura-merge": "^1.0.3",
"esbuild": "^0.15.7",
"esbuild-jest": "^0.5.0",
"eslint": "^8.23.0",
"eslint-plugin-import": "^2.26.0",
"handlebars": "^4.7.7",
"husky": "^8.0.1",
"jest": "^29.0.2",
"jest-environment-jsdom": "^29.0.2",
"jest-fetch-mock": "^3.0.3",
"lit": "^2.2.8",
"lodash-es": "^4.17.21",
"mkdirp": "^1.0.4",
"mocha": "^10.0.0",
"mock-require": "^3.0.3",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"open": "^8.4.0",
"pinst": "^3.0.0",
"prettier": "^2.7.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rimraf": "^3.0.2",
"rollup-plugin-import-css": "^3.0.3",
"rxjs": "^7.5.6",
"sinon": "^14.0.0",
"sinon-chai": "^3.7.0",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.7.4"
},
"dependencies": {
"query-string": "^7.1.1",
"typedoc": "0.22.11",
"uuid": "^8.3.2",
"yargs": "^17.5.1"
},
"peerDependencies": {
"handlebars": "^4",
"jest": ">=26.6.3",
"lit": "^2",
"react": "^17",
"react-dom": "^17",
"rxjs": "^7.3.0"
},
"dependenciesMeta": {
"[email protected]": {
"unplugged": true
}
}
}