-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
95 lines (95 loc) · 3.64 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
{
"name": "imagecodes",
"version": "0.0.2-beta",
"description": "A cross platform javascript library for scanning and generating QR codes and barcodes.",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"typings": "./esm/index.d.ts",
"esnext": "./es2015/index.js",
"scripts": {
"build-windows": "npm run build:es2015 && npm run build:esm && npm run build:esnext && npm run build:cjs && npm run build:umd_windows && npm run build:typing && npm run build:copy_windows",
"test": "npm run-script test:build && npm run-script test:run",
"test_windows": "npm run-script test:build && npm run-script test:run_windows",
"test:build": "tsc --build tsconfig.test.json",
"test:run_windows": ".\\scripts\\test-run.bat",
"test:run": "./scripts/test-run.sh",
"lint-md": "remark .",
"clean": "rm -Rf ./lib/* ./build/* ./meta/bundlesize/* ./meta/coverage/* ./.rpt2_cache ./dist/* ./src/*.d.ts",
"prebuild": "npm run clean",
"postbuild": "cp -R ./third_party ./dist/third_party",
"build": "npm run build:es2015 && npm run build:esm && npm run build:esnext && npm run build:cjs && npm run build:umd && npm run build:typing && npm run build:copy",
"build:es2015": "tsc --build tsconfig.lib-es2015.json",
"build:esm": "tsc --build tsconfig.lib-esm.json",
"build:esnext": "tsc --build tsconfig.lib-esm.json",
"build:cjs": "tsc --build tsconfig.lib-cjs.json",
"build:typing": "tsc --emitDeclarationOnly --outDir ./dist",
"build:umd": "./scripts/build-webpack.sh",
"build:umd_windows": ".\\scripts\\build-webpack.bat",
"build:copy": "cp README.md dist && cp package.json dist && cp LICENSE dist && cp -R src dist/src",
"build:copy_windows": "copy README.md dist && copy package.json dist && copy LICENSE dist",
"internal_release": "npm run build && cp dist/html5-qrcode.min.js minified/html5-qrcode.min.js",
"release": "npm run build && cp dist/html5-qrcode.min.js minified/html5-qrcode.min.js && cd dist && npm publish",
"release_windows": "npm run build && cp dist\\html5-qrcode.min.js minified\\html5-qrcode.min.js && cd dist && npm publish",
"doc_gen": "npx typedoc --excludePrivate src/index.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/scanapp-org/imagecodes.git"
},
"keywords": [
"html5",
"qrcode",
"qrcode-scanner",
"qrcode-generator",
"html",
"camera",
"scanner",
"barcode",
"barcode-scanner",
"barcode 1d",
"barcode 2d"
],
"author": "[email protected]",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/scanapp-org/imagecodes/issues"
},
"homepage": "https://github.com/scanapp-org/imagecodes#readme",
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.11.4",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/preset-env": "^7.11.0",
"@types/chai": "^4.3.0",
"@types/mocha": "^9.0.0",
"babel-minify": "^0.5.1",
"chai": "^4.3.4",
"docusaurus-plugin-typedoc": "^0.18.0",
"expose-loader": "^2.0.0",
"jsdom": "20.0.2",
"jsdom-global": "3.0.2",
"mocha": "^9.1.3",
"mocha-lcov-reporter": "^1.3.0",
"promise-polyfill": "^8.1.3",
"remark-cli": "^9.0.0",
"remark-preset-lint-recommended": "^5.0.0",
"rewire": "^5.0.0",
"ts-loader": "^9.1.2",
"ts-node": "^10.4.0",
"tsconfig-paths": "^3.12.0",
"typedoc": "^0.23.28",
"typedoc-plugin-markdown": "^3.14.0",
"typescript": "^4.3.2",
"typings": "^2.1.1",
"webpack": "^5.37.0",
"webpack-cli": "^4.7.0"
},
"remarkConfig": {
"plugins": [
"remark-preset-lint-recommended"
]
},
"publishConfig": {
"access": "public"
}
}