forked from zxing-js/browser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 2.5 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
{
"name": "@digitalspace/browser",
"version": "0.1.1",
"description": "Digitalspace's fork of ZXing for JS's browser layer.",
"keywords": [
"reader",
"writer",
"decode",
"encode",
"scanner",
"generator",
"barcode",
"qr-code",
"barcode 1d",
"barcode 2d",
"typescript",
"zxing"
],
"license": "MIT",
"bugs": "https://github.com/digitalspace/browser/issues/new",
"repository": {
"type": "git",
"url": "https://github.com/digitalspace/browser"
},
"private": false,
"main": "./cjs/index.js",
"module": "./esm/index.js",
"typings": "./esm/index.d.ts",
"esnext": "./es2015/index.js",
"unpkg": "./umd/digitalspace-browser.min.js",
"scripts": {
"clean": "./node_modules/.bin/shx rm -rf umd esm esm5",
"build": "yarn clean && yarn build:es2015 && yarn build:esm && yarn build:cjs && yarn build:umd && yarn build:umd:min && yarn build:copy",
"build:es2015": "tsc --build tsconfig.lib-es2015.json",
"build:esm": "tsc --build tsconfig.lib-esm.json",
"build:cjs": "tsc --build tsconfig.lib-cjs.json",
"build:umd": "rollup -c rollup.config.js",
"build:umd:min": "cd dist/umd && terser --compress --mangle --source-map --screw-ie8 --comments -o digitalspace-browser.min.js -- digitalspace-browser.js && gzip digitalspace-browser.min.js -c > digitalspace-browser.min.js.gz",
"build:copy": "cp README.md dist && cp package.json dist && cp LICENSE dist",
"e2e:serve:start": "pm2 serve ./ 8080 --name digitalspace-browser-e2e",
"e2e:serve:stop": "pm2 del digitalspace-browser-e2e",
"e2e:test": "yarn e2e:serve:start && yarn e2e:run && yarn e2e:serve:stop",
"e2e:run": "cypress run --headless --browser chrome",
"cypress:debug": "BROWSER=none CYPRESS_REMOTE_DEBUGGING_PORT=9222 cypress open"
},
"peerDependencies": {
"@zxing/library": "^0.19.1"
},
"optionalDependencies": {
"@zxing/text-encoding": "^0.9.0"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^13.1.3",
"@types/chai": "^4.3.0",
"@zxing/library": "^0.19.1",
"chai": "^4.3.6",
"cypress": "^9.4.1",
"eslint": "^8.8.0",
"pm2": "^5.1.2",
"rollup": "^2.67.0",
"shx": "^0.3.4",
"terser": "^5.10.0",
"tslint": "^5.20.1",
"tslint-no-circular-imports": "^0.7.0",
"typescript": "^4.5.5"
}
}