-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
63 lines (63 loc) · 2.11 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
{
"name": "qr-decode-encode",
"description": "Shell scripts for decoding / encoding QR codes.",
"version": "0.0.0-development",
"main": "lib/index.js",
"bin": "lib/bin.js",
"scripts": {
"start": "ts-node src/bin.ts",
"decode": "yarn start decode",
"encode": "yarn start encode",
"build": "tsc && chmod +x lib/bin.js",
"type-check": "tsc --noEmit",
"lint": "eslint src",
"test": "yarn test:src",
"test:src": "/usr/bin/env bash -c '[ \"$(ts-node src/bin.ts decode \"$(ts-node src/bin.ts encode 'magic_test_string')\")\" == \"magic_test_string\" ]'",
"test:lib": "/usr/bin/env bash -c '[ \"$(node lib/bin.js decode \"$(node lib/bin.js encode 'magic_test_string')\")\" == \"magic_test_string\" ]'",
"reformat": "eslint src --fix",
"clean": "rimraf lib",
"ci-lint": "run-p lint type-check",
"ci-test": "run-s test:src build test:lib",
"semantic-release": "semantic-release",
"prepare": "husky install"
},
"license": "MIT",
"author": "Matt Lubner <[email protected]>",
"dependencies": {
"javascript-barcode-reader": "^0.6.9",
"jimp": "^0.22.4",
"jsqr": "^1.4.0",
"qrcode": "^1.4.4",
"ts-node": "^10.2.1",
"typescript": "^4.4.2",
"yargs": "^17.1.1"
},
"devDependencies": {
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@types/node": "^16.7.10",
"@types/qrcode": "^1.4.1",
"@types/yargs": "^17.0.2",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-typescript": "^3.0.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.0",
"is-ci": "^3.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.2",
"rimraf": "^3.0.2",
"semantic-release": "^19.0.2"
},
"resolutions": {
"qrcode/yargs/yargs-parser": "^13.1.2",
"semantic-release/@semantic-release/npm/npm/lock-verify/@iarna/cli/yargs/os-locale/mem": "4.0.0",
"jimp": "0.22.4"
},
"repository": {
"type": "git",
"url": "https://github.com/mattlubner/qr-decode-encode.git"
}
}