-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
36 lines (36 loc) · 1.28 KB
/
package.json
File metadata and controls
36 lines (36 loc) · 1.28 KB
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
{
"name": "unique-browser-tab-id",
"version": "1.2.0",
"author": "",
"license": "ISC",
"description": "Get a unique, persistent id for every browser tab",
"scripts": {
"start": "npm run dev",
"dev": "concurrently -k npm:dev-vite npm:dev-tsc",
"dev-vite": "vite test",
"dev-tsc": "npm run tsc -- --noEmit --watch",
"tsc": "tsc --lib es2015,dom index.ts",
"build": "npm run build-tsc",
"build-tsc": "rm dist/* && npm run tsc -- --declaration true --outDir dist --sourceMap true",
"build-vite": "vite build test",
"release-major": "npm version major && npm run release-post-npm-version",
"release-minor": "npm version minor && npm run release-post-npm-version",
"release-patch": "npm version patch && npm run release-post-npm-version",
"release-post-npm-version": "TAG=`git tag --list --contains=@` && npm run build && git add dist -f && git commit --amend -m \"Bump version to $TAG\" && git tag -f $TAG",
"test-the-build-interactively": "npm run build && npx serve test/dist"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/**/*"
],
"dependencies": {
"nanoid": "^5.1.5"
},
"devDependencies": {
"concurrently": "^9.2.0",
"serve": "^14.2.4",
"typescript": "^5.8.3",
"vite": "^7.0.6"
}
}