-
Notifications
You must be signed in to change notification settings - Fork 52
/
package.json
68 lines (68 loc) · 2.24 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
{
"name": "@wokwi/elements",
"version": "1.5.1",
"main": "dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"repository": "https://github.com/wokwi/wokwi-elements",
"author": "Uri Shaked <[email protected]>",
"license": "MIT",
"files": [
"dist"
],
"engines": {
"node": ">=16"
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/runtime": "^7.15.3",
"@storybook/addon-actions": "^6.5.13",
"@storybook/addon-essentials": "^6.5.13",
"@storybook/addon-google-analytics": "^6.3.0-next.1",
"@storybook/addon-knobs": "^6.4.0",
"@storybook/builder-webpack5": "^6.5.13",
"@storybook/manager-webpack5": "^6.5.13",
"@storybook/web-components": "^6.5.13",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"babel-loader": "^9.1.0",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-storybook": "^0.6.7",
"husky": "^8.0.0",
"hygen": "^6.1.0",
"lint-staged": "^10.2.11",
"prettier": "^2.3.2",
"react-is": "^16.13.1",
"rimraf": "^3.0.2",
"rollup": "^2.79.2",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"terser": "^4.8.0",
"typescript": "^4.3.5",
"web-component-analyzer": "^1.1.6"
},
"dependencies": {
"@types/react": ">=16",
"lit": "^2.0.0"
},
"scripts": {
"build": "rimraf dist && tsc --sourceMap false && tsc -m esnext --outDir dist/esm --sourceMap false && rollup -c rollup.config.js && terser -c -m -o dist/wokwi-elements.bundle.min.js dist/wokwi-elements.bundle.js",
"test": "npm run lint",
"lint": "eslint src/**/*.ts",
"prepare": "husky install && npm run build",
"analyze-components": "web-component-analyzer analyze src/*-element.ts --outFile custom-elements.json",
"storybook": "npm run analyze-components && start-storybook -p 6006",
"build-storybook": "npm run analyze-components && build-storybook",
"new-element": "hygen element new",
"clear-cache": "rimraf node_modules/.cache"
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
]
}
}