-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
59 lines (59 loc) · 1.48 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": "@nuintun/uri",
"version": "0.1.0",
"description": "A simple WHATWG URI parser.",
"type": "module",
"sideEffects": false,
"main": "cjs/index.js",
"module": "esm/index.js",
"exports": {
"import": "./esm/index.js",
"require": "./cjs/index.cjs"
},
"files": [
"cjs",
"esm"
],
"repository": {
"type": "git",
"url": "git+https://github.com/nuintun/uri.git"
},
"keywords": [
"URI",
"URL"
],
"author": {
"name": "nuintun",
"email": "nuintun@qq.com"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/nuintun/uri/issues"
},
"homepage": "https://github.com/nuintun/uri#readme",
"scripts": {
"lint": "tsc --noEmit",
"test": "node tests/index.js",
"clean": "node tools/clean.js",
"prepublishOnly": "npm run build",
"build:cjs": "rollup -c tools/rollup.cjs.js",
"build:esm": "rollup -c tools/rollup.esm.js",
"build:fix-types": "node tools/fix-types.js",
"format": "prettier --write . --ignore-path .prettierignore",
"build": "npm run clean && npm run build:main && npm run format",
"build:main": "npm run build:cjs && npm run build:esm && npm run build:fix-types"
},
"dependencies": {
"tslib": "^2.8.1"
},
"devDependencies": {
"@rollup/plugin-typescript": "^12.1.2",
"@types/node": "^22.10.7",
"dts-paths": "^1.1.1",
"magic-string": "^0.30.17",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"rollup": "^4.31.0",
"typescript": "^5.7.3"
}
}