-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
47 lines (47 loc) · 1.54 KB
/
package.json
File metadata and controls
47 lines (47 loc) · 1.54 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
{
"name": "web-encoding",
"version": "1.0.0",
"description": "TextEncoder and TextDecoder APIs from Encoding Standard APIs in a universal package",
"keywords": [
"TextEncoder",
"TextDecoder"
],
"react-native": "./src/lib.react-native.js",
"main": "./src/lib.js",
"module": "./src/lib.mjs",
"browser": "./src/lib.js",
"types": "./src/lib.d.ts",
"exports": {
".": {
"import": "./src/lib.mjs",
"require": "./src/lib.js"
}
},
"scripts": {
"test:node": "mocha test/test-*.spec.js",
"test:browser": "playwright-test test/test-*.js",
"test:react-native": "npm test --prefix test/react-native",
"test:create-react-app": "npm test --prefix test/create-react-app",
"test:es": "mocha test/test-lib.spec.mjs",
"test:cjs": "npm run test:node && npm run test:browser",
"test:types:ts": "npm test --prefix test/ts-use",
"test:types:esm": "npm test --prefix test/esm-use",
"test:types:cjs": "npm test --prefix test/cjs-use",
"test:types": "npm run test:types:ts && npm run test:types:esm && npm run test:types:cjs",
"test": "npm run test:es && npm run test:cjs && npm run test:types && npm run test:create-react-app && npm run test:react-native"
},
"license": "MIT",
"author": "Irakli Gozalishvili <dev@gozala.io>",
"homepage": "https://github.com/gozala/web-encoding",
"dependencies": {
"util": "^0.12.3"
},
"devDependencies": {
"assert": "^2.0.0",
"mocha": "8.3.2",
"playwright-test": "2.1.0"
},
"optionalDependencies": {
"@zxing/text-encoding": "0.9.0"
}
}