forked from wokwi/wokwi-elements
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 2.04 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
{
"name": "@wokwi/elements",
"version": "0.27.2",
"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"
],
"devDependencies": {
"@babel/core": "^7.11.4",
"@storybook/addon-actions": "^6.1.11",
"@storybook/addon-essentials": "^6.1.11",
"@storybook/addon-google-analytics": "^6.1.11",
"@storybook/addon-knobs": "^6.1.11",
"@storybook/web-components": "^6.1.11",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"babel-loader": "^8.1.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-json": "^2.1.2",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.2.5",
"hygen": "^5.0.3",
"lint-staged": "^10.2.11",
"lit-html": "^1.3.0",
"prettier": "^2.0.5",
"react-is": "^16.13.1",
"rimraf": "^3.0.2",
"rollup": "^2.23.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"terser": "^4.8.0",
"typescript": "^3.9.7",
"web-component-analyzer": "^1.1.6"
},
"dependencies": {
"lit-element": "^2.3.1"
},
"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",
"lint": "eslint src/**/*.ts",
"prepare": "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"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"eslint --fix",
"prettier --write",
"git add"
]
}
}