forked from kayahr/text-encoding
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 2.91 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
{
"$schema": "http://json.schemastore.org/package",
"name": "@kayahr/text-encoding",
"version": "1.3.0",
"description": "Text encoder and decoder",
"keywords": [
"typescript",
"text",
"encoding",
"encode",
"decoding",
"decode"
],
"license": "MIT",
"author": "Klaus Reimer <[email protected]>",
"repository": "github:kayahr/text-encoding",
"homepage": "https://github.com/kayahr/text-encoding",
"bugs": "https://github.com/kayahr/text-encoding/issues",
"funding": "https://github.com/kayahr/text-encoding?sponsor=1",
"publishConfig": {
"access": "public"
},
"files": [
"lib/main/",
"src/main/",
"data/"
],
"exports": {
".": "./lib/main/index.js",
"./no-encodings": "./lib/main/index-no-encodings.js",
"./encodings/*.js": "./lib/main/encodings/*.js",
"./encodings/*": "./lib/main/encodings/*.js",
"./encodings": "./lib/main/encodings.js"
},
"types": "lib/main/index.d.ts",
"typesVersions": {
"*": {
"no-encodings": [
"lib/main/index-no-encodings.d.ts"
]
}
},
"scripts": {
"clean": "rimraf lib coverage doc/api",
"compile": "tsc",
"check": "jest",
"doc": "typedoc",
"lint": "eslint --max-warnings 0 --ext .ts src",
"cspell": "cspell --no-progress",
"prepare": "npm run clean && npm run compile",
"test": "npm run check && npm run lint && npm run doc -- --emit none && npm run cspell"
},
"jest": {
"projects": [
{
"displayName": "node",
"testEnvironment": "jest-environment-node-single-context",
"testMatch": [
"<rootDir>/lib/test/**/*.test.js"
]
},
{
"displayName": "electron",
"runner": "@kayahr/jest-electron-runner",
"testEnvironment": "@kayahr/jest-electron-runner/environment",
"testMatch": [
"<rootDir>/lib/test/**/*.test.js"
]
}
],
"collectCoverageFrom": [
"<rootDir>/lib/main/**/*.js"
]
},
"devDependencies": {
"@kayahr/eslint-config": "2.10.2",
"@kayahr/jest-electron-runner": "29.11.0",
"@types/jest": "29.5.12",
"@types/node": "20.11.16",
"@typescript-eslint/eslint-plugin": "6.20.0",
"@typescript-eslint/parser": "6.20.0",
"cspell": "8.3.2",
"eslint": "8.56.0",
"eslint-plugin-deprecation": "2.0.0",
"eslint-plugin-simple-import-sort": "10.0.0",
"jest": "29.7.0",
"jest-environment-node-single-context": "29.4.0",
"rimraf": "5.0.5",
"typedoc": "0.25.7",
"typescript": "5.3.3"
},
"dependencies": {
"tslib": "^2.6.2"
}
}