-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
47 lines (47 loc) · 1.71 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
{
"name": "wesc",
"version": "0.4.0",
"description": "We are the Superlative Components!",
"type": "module",
"main": "src/index.js",
"files": [
"src",
"dist"
],
"exports": {
".": "./src/index.js",
"./dom/unshim": "./dist/dom/unshim.js",
"./dom/server": "./dist/dom/server.js",
"./dom/react": "./dist/dom/react/index.js",
"./dom/astro": "./src/dom/astro/index.js",
"./dom/astro/*": "./src/dom/astro/*"
},
"repository": "luwes/wesc",
"author": "Wesley Luyten <[email protected]> (https://wesleyluyten.com)",
"license": "MIT",
"homepage": "https://github.com/luwes/wesc#readme",
"bugs": {
"url": "https://github.com/luwes/wesc/issues"
},
"scripts": {
"lint": "npx eslint@8 src/*.js src/**/*.js -c ./node_modules/wet-run/.eslintrc.json",
"test": "pta 'test/**/*.spec.js' --reporter tap",
"dev": "wet serve --cors --redirect :examples/ & esbuild src/dom/server.js src/dom/unshim.js src/dom/react/index.js src/dom/react/render.js --format=esm --external:react --external:react-dom --external:./server.js --external:./render.js --outdir=dist/dom --bundle --watch",
"build": "esbuild src/dom/server.js src/dom/unshim.js src/dom/react/index.js src/dom/react/render.js --format=esm --external:react --external:react-dom --external:./server.js --external:./render.js --outdir=dist/dom --bundle --minify --tree-shaking=true",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"esbuild": "^0.20.0",
"prettier": "^3.2.4",
"pta": "^1.2.0",
"wet-run": "^1.0.3",
"zora": "^5.2.0"
},
"dependencies": {
"linkedom": "github:luwes/linkedom#wesc"
},
"peerDependencies": {
"react": "^17.0.2 || ^18",
"react-dom": "^17.0.2 || ^18"
}
}