-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
171 lines (171 loc) · 6.58 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
{
"name": "@capitec/omni-components",
"version": "0.9.12",
"type": "module",
"description": "Modern UI component library for mobile and web",
"scripts": {
"clean": "npx rimraf dist docs",
"lint": "eslint . --ext .ts --fix",
"lint:check": "eslint . --ext .ts",
"compile": "npm run clean && npm run compile:ts",
"compile:ts": "npx rimraf node_modules/@types/glob && tsc && npm run ignore-typings",
"bundle": "npm run clean && npm run compile:esm",
"compile:esm": "npx rimraf node_modules/@types/glob && node .tooling/scripts/build.mjs --bundle && npm run ignore-typings",
"prepare": "(node -e \"if (! require('fs').existsSync('./dist')) {process.exit(1)} \" || (echo \"Dist does not exist. Attempting compile\" && npm run compile:ts))",
"ignore-typings": "node .tooling/scripts/ignore-typings.mjs",
"docs": "npm run clean && npm run docs:readme && npm run docs:generate && npm run docs:ssg && npm run ignore-typings",
"docs:generate": "npm run docs:elements && readme generate -c \".tooling/readme/blueprint.json\" -i \".tooling/readme/blueprint.md\"",
"docs:custom-elements": "npx cem analyze --litelement --globs src/**",
"docs:ssg": "tsc -p tsconfig.utils.json && eleventy --config=.eleventy.cjs && npm run docs:copy-dist",
"docs:copy-dist": "copyfiles -a \"./dist/*\" \"./dist/**/*\" \"./docs\"",
"docs:readme": "npx web-component-analyzer ./src/**/*.{js,ts} --outFiles {dir}/README.md",
"docs:elements": "node .tooling/scripts/elements-list.mjs",
"serve": "npm run clean && tsc -p tsconfig.utils.json && eleventy --serve --config=.eleventy.cjs --port 6006",
"test": "concurrently -k -r -s first \"npm run serve\" \"npm run test:only\"",
"test:only": "npx wait-on tcp:6006 && cross-env PW_EXPERIMENTAL_TS_ESM=1 cross-env-shell npx playwright test $PW_COMPONENT_FILTER --pass-with-no-tests",
"test:add-screenshots": "concurrently -k -r -s first \"npm run serve\" \"npm run test:add-screenshots-only\"",
"test:add-screenshots-only": "npx wait-on tcp:6006 && (cross-env PW_EXPERIMENTAL_TS_ESM=1 PWTEST_SKIP_TEST_OUTPUT=1 cross-env-shell npx playwright test $PW_COMPONENT_FILTER --pass-with-no-tests || echo \"Generated missing screenshots\")",
"test-results": "npx playwright show-report",
"format": "prettier --config .prettierrc \"src/**/*.ts\" --write",
"format:check": "prettier --config .prettierrc \"src/**/*.ts\" --check"
},
"files": [
"dist",
"!dist/**/OmniInputStories.*",
"!dist/**/OmniInputPlaywright.*",
"!dist/**/*.stories.*",
"!dist/**/*.spec.*",
"!dist/**/*.tests.*",
"!dist/**/*.test.*",
"src/**/README.md",
"src/**/*.ts",
"src/**/*.js",
"!src/**/OmniInputStories.*",
"!src/**/OmniInputPlaywright.*",
"!src/**/*.stories.*",
"!src/**/*.spec.*",
"!src/**/*.tests.*",
"!src/**/*.test.*",
"!**/*.stories.*",
"button",
"check",
"chip",
"color-field",
"core",
"currency-field",
"hyperlink",
"icon",
"icons",
"label",
"password-field",
"radio",
"render-element",
"search-field",
"select",
"switch",
"text-field",
"number-field",
"date-picker",
"email-field",
"pin-field",
"calendar",
"keyboard",
"modal",
"toast",
"tab",
"alert",
"expander"
],
"exports": {
"./*": {
"import": {
"types": "./*/index.d.ts",
"default": "./dist/*/index.js"
}
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/capitec/omni-components.git"
},
"keywords": [
"web components",
"custom elements",
"components"
],
"author": "capitec",
"license": "MIT",
"bugs": {
"url": "https://github.com/capitec/omni-components/issues"
},
"homepage": "https://capitec.github.io/open-source/docs/omni-components/",
"devDependencies": {
"@11ty/eleventy": "^2.0.1",
"@11ty/eleventy-server-browsersync": "^1.0.2",
"@appnest/readme": "^1.2.7",
"@codemirror/lang-css": "^6.0.0",
"@codemirror/lang-html": "^6.1.3",
"@codemirror/lang-javascript": "^6.1.1",
"@custom-elements-manifest/analyzer": "^0.6.4",
"@ddietr/codemirror-themes": "^1.2.1",
"@geut/esbuild-plugin-brode": "^2.0.14",
"@octokit/core": "^4.2.0",
"@playwright/test": "^1.35.1",
"@testing-library/dom": "^8.19.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.2.3",
"@types/lodash": "^4.14.202",
"@types/luxon": "^3.2.0",
"@types/pretty": "^2.0.1",
"@types/testing-library__jest-dom": "^5.14.5",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^6.18.0",
"@typescript-eslint/parser": "^6.18.0",
"@webcomponents/webcomponentsjs": "^2.6.0",
"chalk": "^5.0.1",
"codemirror": "^6.0.1",
"command-line-args": "^5.2.1",
"concurrently": "^7.2.2",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"deasync": "^0.1.28",
"esbuild": "^0.15.15",
"esbuild-plugin-d-ts-path-alias": "^2.0.0",
"esbuild-plugins-node-modules-polyfill": "^1.0.6",
"eslint": "^8.22.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-lit": "^1.11.0",
"expect": "^29.2.2",
"fs-extra": "^10.1.0",
"fuse.js": "^6.6.2",
"github-slugger": "^2.0.0",
"global": "^4.4.0",
"globby": "^13.1.2",
"innertext": "^1.0.3",
"istanbul-lib-coverage": "^3.2.0",
"istanbul-lib-report": "^3.0.0",
"istanbul-reports": "^3.1.5",
"jest": "^29.2.2",
"jest-mock": "^29.3.1",
"jsdom": "^20.0.2",
"markdown-it": "^13.0.1",
"package-json": "^8.1.0",
"prettier": "^2.7.1",
"pretty": "^2.0.0",
"rimraf": "^3.0.2",
"typescript": "^5.3.3",
"uuid": "^9.0.0",
"v8-to-istanbul": "^9.1.0",
"wait-on": "^7.2.0",
"web-component-analyzer": "^1.1.6",
"xhr2": "^0.2.1"
},
"dependencies": {
"lit": "^3.1.0",
"lodash": "^4.17.21",
"luxon": "^3.3.0"
},
"customElements": "custom-elements.json"
}