-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
134 lines (134 loc) · 4.75 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
{
"name": "@govtechsg/sgds-web-component",
"version": "2.1.2",
"description": "",
"main": "lib/index.js",
"module": "lib/index.js",
"typings": "lib/index.d.ts",
"scripts": {
"dev": "VITE_ENV=development vite --open",
"preview": "VITE_ENV=production vite --open",
"build": "npm run build:react && rm -rf lib && rollup --config rollup.config.mjs && node ./scripts/frankBuild.js",
"build:react": "npm run cem && node ./scripts/makeReact.mjs",
"build:readme": "gulp build-readme",
"write:stories": "npm run cem && node ./scripts/generateStories.mjs && npm run concat:stories",
"write:component": "plop",
"test": "rm -rf test-outdir && rollup --config rollup.test.config.js && web-test-runner",
"test:scripts": "wtr scripts/__tests__/**/*.test.js --node-resolve",
"prepare": "husky install",
"concat:stories": "gulp concat-stories-js && gulp concat-storybook-mdx",
"format": "prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\"",
"lint": "eslint --ignore-path .gitignore --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 write:stories && STORYBOOK_ENV=development storybook dev -p 6006\" --watch stories/templates stories/getting-started -e js,mdx",
"build-storybook": "npm run build && npm run write:stories && STORYBOOK_ENV=production storybook build",
"trial-sb": "storybook dev",
"trial-sb-build": "storybook build"
},
"author": "GovTechSG",
"contributors": [
{
"name": "rav3",
"url": "https://github.com/rav3"
},
{
"name": "haphizi",
"url": "https://github.com/haphizi"
},
{
"name": "clukhei",
"url": "https://github.com/clukhei"
}
],
"license": "MIT",
"dependencies": {
"@govtechsg/sgds": "^2.3.2",
"@lit-labs/react": "^1.0.9",
"@open-wc/scoped-elements": "2.2.0",
"@storybook/addon-a11y": "^8.2.8",
"bootstrap": "^5.1.3",
"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",
"@esm-bundle/chai": "^4.3.4-fix.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",
"@storybook/addon-essentials": "^8.2.6",
"@storybook/addon-links": "^8.2.6",
"@storybook/addon-mdx-gfm": "^8.2.8",
"@storybook/blocks": "^8.2.7",
"@storybook/test": "^8.2.6",
"@storybook/web-components": "^8.2.6",
"@storybook/web-components-vite": "^8.2.6",
"@types/bootstrap": "^5.2.6",
"@types/mocha": "^10.0.6",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"@web/dev-server": "^0.1.17",
"@web/dev-server-esbuild": "^0.3.2",
"@web/dev-server-rollup": "^0.3.19",
"@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",
"autoprefixer": "^10.4.19",
"cem-plugin-better-lit-types": "^0.2.0",
"cypress": "^13.6.0",
"cypress-fail-on-console-error": "^5.0.3",
"cz-conventional-changelog": "^3.3.0",
"del": "^7.0.0",
"esbuild-sass-plugin": "^2.3.2",
"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",
"gulp": "^5.0.0",
"gulp-concat": "^2.6.1",
"gulp-order": "^1.2.0",
"husky": "^8.0.0",
"lodash": "^4.17.21",
"nodemon": "^2.0.22",
"plop": "^3.1.2",
"postcss": "^8.2.13",
"prettier": "^2.8.7",
"remark-gfm": "^4.0.0",
"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",
"sass": "~1.49.9",
"sass-loader": "^13.0.2",
"sinon": "^14.0.0",
"storybook": "^8.2.6",
"typescript": "^5.0.4",
"vite": "^4.4.9"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}