-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
115 lines (115 loc) · 2.59 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
{
"name": "@stassi/binary-transcoder",
"version": "0.11.2",
"description": "Convert binary data between common formats and encodings.",
"keywords": [
"8-bit",
"binary",
"decoder",
"decoding",
"encoder",
"encoding",
"hex",
"hexadecimal",
"ISO/IEC 8859-1",
"Latin-1",
"latin1",
"octet",
"transcoder",
"transcoding",
"uint8"
],
"homepage": "https://github.com/Stassi/binary-transcoder#readme",
"license": "MIT",
"author": "Andreas Stassivik <andreas@stassi.net>",
"sideEffects": false,
"files": [
"dist",
"!dist/**/__tests__/**"
],
"main": "dist/index.cjs",
"publishConfig": {
"access": "public"
},
"type": "module",
"types": "dist/index.d.mts",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Stassi/binary-transcoder.git"
},
"scripts": {
"build": "rollup -c",
"prepublishOnly": "npm run build",
"test": "npm run test:package && npm run test:style && npm run test:jest",
"test:jest": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"test:package": "package-check",
"test:style": "prettier --check ."
},
"devDependencies": {
"@jest/globals": "^29.4.0",
"@rollup/plugin-alias": "^4.0.3",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^11.0.0",
"@skypack/package-check": "^0.2.2",
"@typescript-eslint/eslint-plugin": "^5.49.0",
"@typescript-eslint/parser": "^5.49.0",
"eslint": "^8.32.0",
"eslint-config-prettier": "^8.6.0",
"jest": "^29.4.0",
"prettier": "2.8.3",
"rollup": "^3.10.1",
"rollup-plugin-polyfill-node": "^0.12.0",
"ts-jest": "^29.0.5",
"typescript": "^4.9.4"
},
"engines": {
"node": ">=16.19.0 || >=18.13.0 || >=19.4.0",
"npm": ">=8.19.3 || >=9.3.1"
},
"os": [
"darwin",
"linux",
"win32"
],
"cpu": [
"x64"
],
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"root": true
},
"jest": {
"extensionsToTreatAsEsm": [
".ts"
],
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"preset": "ts-jest/presets/default-esm",
"transform": {
"^.+\\\\.m?[tj]sx?$": [
"ts-jest",
{
"useESM": true
}
]
}
},
"prettier": {
"endOfLine": "auto",
"semi": false,
"singleQuote": true
}
}