generated from substrate-system/template-web-component
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 3.33 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
{
"name": "@substrate-system/web-component",
"description": "Minimal parent web component",
"type": "module",
"version": "0.0.12",
"main": "dist/index.js",
"files": [
"./dist/*"
],
"types": "./dist/index.d.ts",
"directories": {
"example": "example",
"test": "test"
},
"scripts": {
"lint": "eslint \"./**/*.{ts,js}\"",
"build-tests": "esbuild test/index.ts --target=es2020 --bundle --keep-names > test/test-bundle.js",
"test": "npm run lint && npm run build && npm run build-tests && npm run test-tape-run",
"test-tape-run": "cat test/index.html | tape-run --input=html --static=test | tap-spec",
"build-cjs": "esbuild src/*.ts --format=cjs --keep-names --tsconfig=tsconfig.build.json --outdir=./dist --out-extension:.js=.cjs --sourcemap",
"build-cjs:min": "esbuild src/*.ts --format=cjs --minify --keep-names --tsconfig=tsconfig.build.json --outdir=./dist --out-extension:.js=.min.cjs --sourcemap",
"build-esm": "esbuild src/*.ts --format=esm --metafile=dist/meta.json --keep-names --tsconfig=tsconfig.build.json --outdir=./dist --sourcemap && tsc --emitDeclarationOnly --project tsconfig.build.json --outDir dist",
"build-esm:min": "esbuild ./src/*.ts --format=esm --keep-names --bundle --tsconfig=tsconfig.build.json --minify --out-extension:.js=.min.js --outdir=./dist --sourcemap",
"build-example": "mkdir -p ./public && rm -rf ./public/* && VITE_DEBUG_MODE=staging vite --mode staging --base=\"/web-component\" build",
"build-docs": "typedoc --tsconfig tsconfig.build.json ./src/index.ts",
"build": "mkdir -p ./dist && rm -rf ./dist/* && npm run build-cjs && npm run build-esm && npm run build-esm:min && npm run build-cjs:min",
"start": "vite",
"preversion": "npm run lint",
"toc": "markdown-toc --maxdepth 3 -i README.md",
"version": "npm run toc && auto-changelog -p --template keepachangelog --breaking-pattern 'BREAKING CHANGE:' && git add CHANGELOG.md README.md",
"postversion": "git push --follow-tags && npm publish",
"prepublishOnly": "npm run build"
},
"dependencies": {},
"devDependencies": {
"@bicycle-codes/debug": "^0.7.2",
"@bicycle-codes/dom": "^0.1.0",
"@bicycle-codes/tapzero": "^0.10.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"auto-changelog": "^2.4.0",
"cssnano": "^7.0.3",
"esbuild": "^0.24.0",
"eslint": "^8.57.0",
"eslint-config-standard": "^17.1.0",
"markdown-toc": "^1.2.0",
"postcss": "^8.4.38",
"postcss-nesting": "^13.0.0",
"tap-spec": "^5.0.0",
"tape-run": "^11.0.0",
"typedoc": "^0.27.1",
"typescript": "^5.4.5",
"vite": "^6.0.0"
},
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./*": {
"import": [
"./dist/*.js",
"./dist/*"
],
"require": [
"./dist/*.cjs",
"./dist/*"
]
}
},
"author": "nichoth <nichoth@nichoth.com> (https://nichoth.com)",
"license": "SEE LICENSE IN LICENSE",
"repository": {
"type": "git",
"url": "git+https://github.com/substrate-system/web-component.git"
},
"keywords": [
"web",
"component",
"webcomponent"
],
"bugs": {
"url": "https://github.com/substrate-system/web-component/issues"
},
"homepage": "https://github.com/substrate-system/web-component"
}