-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
168 lines (168 loc) · 6.33 KB
/
package.json
File metadata and controls
168 lines (168 loc) · 6.33 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
168
{
"name": "@govtechsg/sgds-web-component",
"version": "3.19.0",
"description": "",
"main": "lib/index.js",
"module": "lib/index.js",
"typings": "lib/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/GovTechSG/sgds-web-component.git"
},
"scripts": {
"dev": "VITE_ENV=development vite --open",
"preview": "VITE_ENV=production vite --open",
"build": "npm run cem && npm run build:react && rm -rf lib && rollup --config rollup.config.mjs && node ./scripts/generateSgdsTypes.mjs && node ./scripts/frankBuild.js && npm run generate:icons && npm run build:fouc",
"build:react": "node ./scripts/makeReact.mjs",
"build:readme": "gulp build-readme",
"build:fouc": "node ./scripts/generateFoucStyle.mjs",
"write:stories": "npm run cem && node ./scripts/generateStories.mjs && npm run concat:stories && npm run update:docs",
"write:component": "plop",
"test": "rm -rf test-outdir && rollup --config rollup.test.config.js && web-test-runner",
"test:scripts": "wtr scripts/**/__tests__/**/*.test.{js,ts} --node-resolve",
"prepare": "husky install",
"concat:stories": "gulp concat-stories-js && gulp concat-storybook-mdx",
"update:docs": "gulp replace-version-and-sri",
"format": "prettier --ignore-path .prettierignore --write \"**/*.+(js|ts|json)\"",
"lint": "eslint --ignore-path .prettierignore --ext .js,.ts .",
"lint:fix": "npm run lint -- --fix",
"cem": "cem analyze --litelement ",
"e2e-test": "node cypress/scripts/run_all.js & cypress open",
"storybook": "nodemon --exec \"npm run utility:storybook && npm run write:stories && STORYBOOK_ENV=development storybook dev -p 6006\" --watch stories/component-templates stories/getting-started src/css/utility.css -e js,mdx,css",
"build-storybook": "npm run utility:storybook && npm run build && npm run write:stories && STORYBOOK_ENV=production storybook build --loglevel verbose",
"convert:icons": "node scripts/convertIcons.js && pnpm run generate:icons",
"generate:icons": "node scripts/generateIconRegistry.js",
"chromatic": "chromatic",
"utility:dev": "tailwindcss -i ./src/css/utility.css -o ./playground/css/utility.css --config tailwind.config.js --watch",
"utility:storybook": "tailwindcss -i ./src/css/utility.css -o ./.storybook/utility.css --config tailwind.config.js",
"scan:snyk-agent": "tsx scripts/snyk-agent-scan/index.ts"
},
"author": "GovTechSG",
"contributors": [
{
"name": "rav3",
"url": "https://github.com/rav3"
},
{
"name": "haphizi",
"url": "https://github.com/haphizi"
},
{
"name": "clukhei",
"url": "https://github.com/clukhei"
},
{
"name": "tonghauhive",
"url": "https://github.com/tonghauhive"
},
{
"name": "amandac628",
"url": "https://github.com/amandac628"
}
],
"license": "MIT",
"dependencies": {
"@floating-ui/dom": "^1.7.4",
"@lit/context": "^1.1.3",
"@lit/react": "^1.0.6",
"date-fns": "^3.3.1",
"imask": "^7.4.0",
"lit": "^3.1.4",
"tslib": "^2.6.2"
},
"devDependencies": {
"@babel/core": "^7.18.13",
"@babel/preset-env": "^7.25.3",
"@babel/register": "^7.21.0",
"@chromatic-com/storybook": "^1.6.1",
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@custom-elements-manifest/analyzer": "^0.6.4",
"@figma/rest-api-spec": "^0.33.0",
"@open-wc/testing": "^3.0.0-next.5",
"@playwright/test": "^1.45.1",
"@rollup/plugin-node-resolve": "^11.2.1",
"@rollup/plugin-replace": "^5.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@storybook/addon-docs": "^8.2.6",
"@storybook/addon-essentials": "^8.2.6",
"@storybook/addon-interactions": "^8.6.14",
"@storybook/addon-links": "^8.2.6",
"@storybook/addon-mdx-gfm": "^8.2.8",
"@storybook/addon-themes": "^8.3.6",
"@storybook/blocks": "^8.2.7",
"@storybook/test": "^8.6.15",
"@storybook/web-components": "^8.2.6",
"@storybook/web-components-vite": "^8.2.6",
"@tailwindcss/cli": "^4.1.18",
"@tailwindcss/postcss": "^4.1.18",
"@tailwindcss/vite": "^4.1.18",
"@types/mocha": "^10.0.6",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"@wc-toolkit/cem-inheritance": "^1.2.2",
"@web/dev-server-esbuild": "^0.3.6",
"@web/test-runner": "^0.17.1",
"@web/test-runner-commands": "^0.6.5",
"@web/test-runner-playwright": "^0.8.10",
"@webcomponents/scoped-custom-element-registry": "^0.0.9",
"chalk": "^5.6.2",
"chromatic": "^15.2.0",
"comment-parser": "^1.4.1",
"cypress": "^13.6.0",
"cypress-fail-on-console-error": "^5.0.3",
"cz-conventional-changelog": "^3.3.0",
"del": "^7.0.0",
"dotenv": "^17.2.1",
"echarts": "^6.0.0",
"eslint": "^8.38.0",
"eslint-config-standard-with-typescript": "^34.0.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-lit": "^1.8.3",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-sort-exports": "^0.8.0",
"eslint-plugin-storybook": "^0.8.0",
"eslint-plugin-wc": "^1.4.0",
"fs-extra": "^11.3.3",
"glob": "^13.0.0",
"gulp": "^5.0.0",
"gulp-concat": "^2.6.1",
"gulp-order": "^1.2.0",
"gulp-replace": "^1.1.4",
"husky": "^8.0.0",
"lodash": "^4.17.21",
"nodemon": "^2.0.22",
"pascal-case": "^4.0.0",
"plop": "^3.1.2",
"postcss": "^8.2.13",
"prettier": "^2.8.7",
"react": "^19.2.3",
"remark-gfm": "^4.0.0",
"resize-observer-polyfill": "^1.5.1",
"rollup": "^2.79.1",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-generate-package-json": "^3.2.0",
"rollup-plugin-postcss": "^4.0.0",
"rollup-plugin-postcss-lit": "^2.1.0",
"rollup-plugin-preserve-directives": "^0.4.0",
"rollup-plugin-typescript2": "^0.33.0",
"rollup-plugin-visualizer": "^5.9.2",
"sinon": "^21.0.1",
"storybook": "^8.6.15",
"tailwindcss": "^4.1.18",
"tsx": "^4.20.4",
"typescript": "^5.0.4",
"vite": "^4.4.9"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"packageManager": "[email protected]+sha512.0e308ff2005fc7410366f154f625f6631ab2b16b1d2e70238444dd6ae9d630a8482d92a451144debc492416896ed16f7b114a86ec68b8404b2443869e68ffda6",
"overrides": {
"react": "^19.2.3",
"react-dom": "^19.2.3"
}
}