forked from sinonjs/text-encoding
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
66 lines (66 loc) · 2.97 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
{
"name": "@zxing/text-encoding",
"author": "Joshua Bell <[email protected]>",
"contributors": [
"Joshua Bell <[email protected]>",
"Rick Eyre <[email protected]>",
"Eugen Podaru <[email protected]>",
"Filip Dupanović <[email protected]>",
"Anne van Kesteren <[email protected]>",
"Author: Francis Avila <[email protected]>",
"Michael J. Ryan <[email protected]>",
"Pierre Queinnec <[email protected]>",
"Zack Weinberg <[email protected]>"
],
"version": "0.9.0",
"description": "Polyfill for the Encoding Living Standard's API.",
"private": false,
"main": "cjs/encoding.js",
"browser": "es2015/encoding.js",
"repository": {
"type": "git",
"url": "https://github.com/zxing-js/text-encoding.git"
},
"keywords": [
"encoding",
"decoding",
"living standard",
"polyfill"
],
"bugs": {
"url": "https://github.com/inexorabletash/text-encoding/issues"
},
"homepage": "https://github.com/inexorabletash/text-encoding",
"license": "(Unlicense OR Apache-2.0)",
"devDependencies": {
"@rollup/plugin-node-resolve": "^7.1.3",
"jest": "^26.0.1",
"pm2": "^4.5.0",
"puppeteer": "^3.0.4",
"rollup": "^2.8.2",
"terser": "^5.3.7",
"typescript": "^3.8.3"
},
"scripts": {
"build": "yarn build:es2015 && yarn build:esm && yarn build:cjs && yarn build:umd && yarn build:umd:min",
"build:es2015": "tsc --module es2015 --target es2015 --outDir dist/es2015",
"build:esm": "tsc --module es2015 --target es5 --outDir dist/esm",
"build:cjs": "tsc --module commonjs --target es5 --outDir dist/cjs",
"build:umd": "yarn build:umd:encoding && yarn build:umd:indexes",
"build:umd:min": "yarn build:umd:encoding:min && yarn build:umd:indexes:min",
"build:umd:encoding": "rollup dist/esm/encoding.js -f umd --name TextEncoding -m -p @rollup/plugin-node-resolve -o dist/umd/encoding.js",
"build:umd:encoding:min": "cd dist/umd && terser --compress --mangle --source-map --screw-ie8 --comments -o encoding.min.js -- encoding.js && gzip encoding.min.js -c > encoding.min.js.gz",
"build:umd:indexes": "rollup dist/esm/encoding-indexes.js -f umd --name TextEncodingIndexes -p @rollup/plugin-node-resolve -o dist/umd/encoding-indexes.js",
"build:umd:indexes:min": "cd dist/umd && terser --compress --mangle --source-map --screw-ie8 --comments -o encoding-indexes.min.js -- encoding-indexes.js && gzip encoding-indexes.min.js -c > encoding-indexes.min.js.gz",
"serve": "yarn hs -p 8000 -c-1",
"test:serve": "yarn testharness:update && yarn test:serve:start",
"test:serve:start": "yarn pm2 serve ./ 8000 --name e2e-testing-server",
"test:serve:stop": "yarn pm2 del e2e-testing-server",
"test": "yarn test:serve && yarn jest && yarn test:serve:stop",
"test:only": "jest",
"testharness:update": "cd ./test && git submodule init && git submodule update --checkout"
},
"jest": {
"testEnvironment": "./__test-utils__/custom-jest-environment.js"
}
}