-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 1.7 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
{
"name": "superslug",
"version": "0.5.0",
"description": "Generate random unique* slugs",
"type": "module",
"private": false,
"author": "Mayank Verma",
"license": "MIT",
"exports": {
".": {
"require": {
"types": "./main.d.cts",
"default": "./main.cjs"
},
"import": {
"types": "./main.d.ts",
"default": "./main.mjs"
}
}
},
"main": "./main.cjs",
"module": "./main.mjs",
"types": "./main.d.ts",
"scripts": {
"prebuild": "rm -rf ./build package.tgz",
"build": "tsup --config=tsup.config.cjs",
"build:tarball": "pnpm run build && (cp -a package.json LICENSE.md README.md ./build) && (cd ./build && npm pack --pack-destination ..) && mv superslug-*.tgz package.tgz",
"publish": "pnpm run build:tarball && npm publish package.tgz",
"dev": "tsup --config=tsup.config.cjs --watch",
"lint": "eslint .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "vitest run",
"coverage": "vitest run --coverage"
},
"repository": {
"type": "git",
"url": "git+https://github.com/errmayank/superslug.git"
},
"bugs": {
"url": "https://github.com/errmayank/superslug/issues"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "6.6.0",
"@typescript-eslint/parser": "6.6.0",
"@vitest/coverage-v8": "0.34.3",
"eslint": "8.48.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-prettier": "5.0.0",
"prettier": "3.0.3",
"tsup": "7.2.0",
"typescript": "5.2.2",
"vitest": "0.34.3"
},
"keywords": [
"slug",
"generate",
"url",
"random",
"human-readable-id",
"human",
"readable",
"id",
"identifier"
]
}