-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 1.79 KB
/
Copy pathpackage.json
File metadata and controls
78 lines (78 loc) · 1.79 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
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
{
"name": "userscript-metadata-generator",
"version": "0.2.4",
"description": "A package to generate userscript metadata string from object",
"sideEffects": false,
"source": "./src/index.ts",
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./package.json": "./package.json"
},
"scripts": {
"format": "prettier -w ./",
"prebuild": "rimraf dist",
"build": "unbuild",
"build-examples": "yarn build && node ./example/esbuild.cjs && rollup -c example/rollup.config.js",
"prepack": "yarn build",
"test": "jest",
"lint-staged": "lint-staged"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json}": [
"prettier --write "
]
},
"engines": {
"node": ">=16.8.0"
},
"prettier": {
"printWidth": 120,
"useTabs": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"endOfLine": "lf",
"semi": true
},
"files": [
"package.json",
"./src/",
"./dist/"
],
"repository": {
"url": "https://github.com/trim21/userscript-metadata-generator",
"type": "git"
},
"keywords": [
"userscript",
"metadata"
],
"author": {
"name": "Trim21",
"email": "trim21me@gmail.com"
},
"license": "MIT",
"devDependencies": {
"@jest/globals": "^30.0.0",
"esbuild": "^0.28.0",
"husky": "^9.0.0",
"jest": "^30.0.0",
"jest-config": "^30.0.0",
"lint-staged": "^17.0.0",
"prettier": "^3.0.0",
"rimraf": "^6.0.0",
"rollup": "^4.0.0",
"rollup-plugin-banner2": "^1.2.2",
"ts-jest": "^29.0.3",
"typescript": "^6.0.0",
"unbuild": "^3.0.0"
},
"packageManager": "yarn@4.17.0"
}