-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
106 lines (106 loc) · 3.41 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
{
"name": "web-cell",
"version": "3.0.3",
"description": "Web Components engine based on VDOM, JSX, MobX & TypeScript",
"keywords": [
"web",
"component",
"engine",
"vdom",
"jsx",
"mobx",
"typescript"
],
"license": "LGPL-3.0",
"author": "[email protected]",
"homepage": "https://web-cell.dev/",
"repository": {
"type": "git",
"url": "git+https://github.com/EasyWebApp/WebCell.git"
},
"bugs": {
"url": "https://github.com/EasyWebApp/WebCell/issues"
},
"main": "dist/index.js",
"module": "dist/index.esm.js",
"source": "source/index.ts",
"types": "dist/index.d.ts",
"dependencies": {
"@swc/helpers": "^0.5.15",
"dom-renderer": "^2.6.0",
"mobx": ">=6.11",
"regenerator-runtime": "^0.14.1",
"web-utility": "^4.4.2"
},
"peerDependencies": {
"@webcomponents/webcomponentsjs": "^2.8",
"core-js": "^3",
"jsdom": ">=23.1"
},
"devDependencies": {
"@eslint/compat": "^1.2.3",
"@eslint/js": "^9.15.0",
"@parcel/config-default": "~2.13.0",
"@parcel/packager-ts": "~2.13.0",
"@parcel/transformer-typescript-tsc": "~2.13.0",
"@parcel/transformer-typescript-types": "~2.13.0",
"@types/eslint-config-prettier": "^6.11.3",
"@types/jest": "^29.5.14",
"@types/node": "^20.17.6",
"core-js": "^3.39.0",
"element-internals-polyfill": "^1.3.12",
"eslint": "^9.15.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-simple-import-sort": "^12.1.1",
"globals": "^15.12.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jsdom": "^25.0.1",
"lint-staged": "^15.2.10",
"open-cli": "^8.0.0",
"parcel": "~2.13.0",
"prettier": "^3.3.3",
"prettier-plugin-sh": "^0.14.0",
"replace": "^1.2.2",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typedoc": "^0.26.11",
"typedoc-plugin-mdn-links": "^3.3.8",
"typescript": "~5.6.3",
"typescript-eslint": "^8.15.0"
},
"scripts": {
"prepare": "husky",
"test": "lint-staged && jest",
"clean": "rimraf .parcel-cache/ dist/ docs/",
"preview": "npm run clean && cd preview/ && parcel --dist-dir=../docs/preview/ --open",
"pack-preview": "rimraf .parcel-cache/ docs/preview/ && cd preview/ && parcel build --public-url=. --dist-dir=../docs/preview/",
"pack-dist": "parcel build source/index.ts",
"pack-docs": "sh ./pack-docs.sh",
"build": "npm run clean && npm run pack-dist && npm run pack-docs && npm run pack-preview",
"start": "npm run pack-docs && open-cli docs/index.html",
"prepublishOnly": "npm test && npm run build"
},
"lint-staged": {
"*.{md,json,yml,js,ts,tsx,sh}": "prettier --write",
"*.{js,ts,tsx}": "eslint --fix"
},
"prettier": {
"singleQuote": true,
"trailingComma": "none",
"arrowParens": "avoid",
"tabWidth": 4,
"plugins": [
"prettier-plugin-sh"
]
},
"browserslist": "> 0.5%, last 2 versions, not dead, IE 11",
"targets": {
"main": {
"optimize": true
}
}
}