-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
160 lines (160 loc) · 3.61 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"metapak": {
"data": {
"files": "src/*.ts",
"testFiles": "tests/*.test.ts",
"bundleFiles": [
"dist",
"src"
],
"ignore": [
"dist"
]
},
"configs": [
"main",
"readme",
"jest",
"eslint",
"tsesm",
"codeclimate",
"ghactions"
]
},
"name": "utf-8",
"description": "Encode/decode UTF8.",
"version": "3.0.0",
"author": {
"name": "Nicolas Froidure",
"email": "nicolas.froidure@insertafter.com",
"url": "https://insertafter.com/en/index.html"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "http://github.com/nfroidure/utf-8.git"
},
"engines": {
"node": ">=20.11.1"
},
"devDependencies": {
"@eslint/js": "^9.7.0",
"@swc/cli": "^0.4.0",
"@swc/core": "^1.6.13",
"@swc/helpers": "^0.5.12",
"@swc/jest": "^0.2.36",
"commitizen": "^4.3.0",
"conventional-changelog-cli": "^5.0.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.7.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"metapak": "^6.0.1",
"metapak-nfroidure": "18.2.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"typescript": "^5.5.3",
"typescript-eslint": "^7.16.0"
},
"scripts": {
"build": "rimraf 'dist' && tsc --outDir dist",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
"cli": "env NODE_ENV=${NODE_ENV:-cli}",
"cover": "npm run jest -- --coverage",
"cz": "env NODE_ENV=${NODE_ENV:-cli} git cz",
"format": "npm run prettier",
"jest": "NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test jest",
"lint": "eslint src/*.ts",
"metapak": "metapak",
"precz": "npm run build && npm t && npm run lint && npm run metapak -- -s",
"prettier": "prettier --write src/*.ts",
"preversion": "npm run build && npm t && npm run lint && npm run metapak -s && npm run metapak -- -s",
"rebuild": "swc ./src -s -d dist -C jsc.target=es2022",
"test": "npm run jest",
"type-check": "tsc --pretty --noEmit",
"version": "npm run changelog && git add CHANGELOG.md"
},
"keywords": [
"utf-8",
"encode",
"decode",
"encoder",
"decoder",
"strict"
],
"main": "dist/index.js",
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"greenkeeper": {
"ignore": [
"commitizen",
"cz-conventional-changelog",
"conventional-changelog-cli",
"jest",
"@swc/jest",
"eslint",
"prettier",
"eslint-config-prettier",
"eslint-plugin-prettier",
"typescript-eslint",
"typescript",
"rimraf",
"@swc/cli",
"@swc/core",
"@swc/helpers"
]
},
"jest": {
"coverageReporters": [
"lcov"
],
"testPathIgnorePatterns": [
"/node_modules/"
],
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.tsx?$": [
"@swc/jest",
{}
]
},
"testEnvironment": "node",
"moduleNameMapper": {
"(.+)\\.js": "$1"
},
"extensionsToTreatAsEsm": [
".ts"
],
"prettierPath": null
},
"type": "module",
"types": "dist/index.d.ts",
"overrides": {
"eslint": "^9.7.0"
},
"prettier": {
"semi": true,
"printWidth": 80,
"singleQuote": true,
"trailingComma": "all",
"proseWrap": "always"
},
"dependencies": {
"yerror": "^8.0.0"
},
"contributors": [],
"files": [
"dist",
"src",
"LICENSE",
"README.md",
"CHANGELOG.md"
]
}