generated from nichoth/template-ts-browser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.73 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
{
"name": "@substrate-system/progress-indicator",
"version": "0.0.8",
"type": "module",
"description": "Progress indicator implemented as a web component",
"directories": {
"example": "example",
"test": "test"
},
"main": "dist/index.js",
"files": [
"./dist/*"
],
"types": "./dist/index.d.ts",
"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=inline",
"build-esm": "tsc --project tsconfig.build.json",
"build-example": "mkdir -p ./public && rm -rf ./public/* && vite build --base=./",
"build": "mkdir -p ./dist && rm -rf ./dist/* && npm run build-cjs && npm run build-esm && npm run build-css",
"build-css": "cp ./src/index.css ./dist",
"start": "vite",
"toc": "markdown-toc --maxdepth 3 -i README.md",
"preversion": "npm run lint",
"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"
},
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./*.css": "./dist/index.css",
"./css": "./dist/index.css",
"./*": {
"import": [
"./dist/*.js",
"./dist/*"
],
"require": [
"./dist/*.cjs",
"./dist/*"
]
}
},
"dependencies": {},
"devDependencies": {
"@bicycle-codes/tapzero": "^0.10.0",
"@nichoth/debug": "^0.6.7",
"@preact/preset-vite": "^2.8.2",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"auto-changelog": "^2.4.0",
"esbuild": "^0.24.0",
"eslint": "^8.57.0",
"eslint-config-standard": "^17.1.0",
"postcss-nesting": "^13.0.0",
"preact": "^10.20.2",
"tap-spec": "^5.0.0",
"tape-run": "^11.0.0",
"typescript": "^5.4.4",
"vite": "^6.0.1"
},
"author": "nichoth <nichoth@gmail.com> (https://nichoth.com)",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/substrate-system/progress-indicator.git"
},
"keywords": [
"progress",
"web",
"component"
],
"bugs": {
"url": "https://github.com/substrate-system/progress-indicator/issues"
},
"homepage": "https://github.com/substrate-system/progress-indicator"
}