generated from nichoth/template-ts-browser
/
package.json
59 lines (59 loc) · 1.78 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
{
"name": "@bicycle-codes/single-page",
"description": "Handle pushState events with a single callback.",
"type": "module",
"version": "1.7.9",
"files": [
"./dist/*"
],
"main": "dist/index.js",
"scripts": {
"lint": "eslint \"./**/*.{ts,js}\"",
"build-tests": "esbuild test/index.ts --target=es2020 --bundle --keep-names > test/test-bundle.js",
"build-cjs": "esbuild src/*.ts --format=cjs --tsconfig=tsconfig.build.json --keep-names --outdir=./dist --out-extension:.js=.cjs",
"build": "mkdir -p ./dist && rm -rf ./dist/* && npm run build-cjs && tsc --project tsconfig.build.json",
"start": "vite",
"preversion": "npm run lint",
"version": "auto-changelog -p --template keepachangelog --breaking-pattern 'BREAKING CHANGE:' && git add CHANGELOG.md",
"postversion": "git push --follow-tags && npm publish",
"prepublishOnly": "npm run build"
},
"dependencies": {},
"devDependencies": {
"@bicycle-codes/tapzero": "^0.9.2",
"@preact/preset-vite": "^2.8.1",
"@typescript-eslint/parser": "^7.1.0",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"auto-changelog": "^2.4.0",
"esbuild": "^0.21.0",
"eslint": "^8.57.0",
"postcss-nesting": "^12.0.2",
"preact": "^10.19.3",
"standardx": "^7.0.0",
"tap-arc": "^1.2.2",
"typescript": "^5.3.3",
"vite": "^5.1.4"
},
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./*": {
"import": [
"./dist/*.js",
"./dist/*"
],
"require": [
"./dist/*.cjs",
"./dist/*"
]
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/bicycle-codes/single-page.git"
},
"author": "nichoth <nichoth@gmail.com> (https://nichoth.com)",
"license": "MIT"
}