-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 2.25 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
{
"name": "ascii",
"description": "ASCII",
"version": "0.1.0",
"homepage": "",
"main": "bin/cmd.js",
"keywords": [],
"contributors": [],
"bugs": {},
"directories": {
"lib": "src",
"test": "src/"
},
"engines": {
"node": "18",
"npm": "8"
},
"private": true,
"scripts": {
"test:jest": "NODE_ENV=testing jest --testTimeout 10000 --maxConcurrency=1 --forceExit --bail --detectOpenHandles --runInBand",
"test:unit": "npm run test:jest src/",
"test:ci": "npm run test:unit",
"test": "echo \"\n[$(date \"+%T\")] TEST\" && npm run test:ci",
"clean:bin": "echo \"\n[$(date \"+%T\")] CLEAN BIN FOLDER\" && rm -rf bin",
"clean:spec": "echo \"\n[$(date \"+%T\")] CLEAN TEST FILES\" && find bin -type f -name '*.spec.js' -exec rm {} + ",
"build:files": "echo \"\n[$(date \"+%T\")] BUILD FILES\" && tsc --project tsconfig.json",
"build": "echo \"\n[$(date \"+%T\")] BUILD START...\" && npm run build:files && echo \"\n[$(date \"+%T\")] ALL DONE\n\"",
"start": "node ./bin/cmd.js",
"prettier": "prettier src --write",
"eslint": "eslint ./src --max-warnings=0 --quiet --ignore-path \".eslintignore\" --fix"
},
"dependencies": {
"jpeg-js": "^0.4.4"
},
"devDependencies": {
"@jest/globals": "^28.1.3",
"@types/node": "^14.14.20",
"@typescript-eslint/eslint-plugin": "^5.8.0",
"@typescript-eslint/parser": "^5.8.0",
"eslint": "^8.5.0",
"eslint-config-airbnb": "^19.0.2",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.27.1",
"husky": "^4.3.7",
"jest": "^28.1.1",
"jest-slow-test-reporter": "^1.0.0",
"lint-staged": "^10.5.3",
"pre-commit": "^1.2.2",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0",
"ts-jest": "^28.0.4",
"ts-node": "^10.8.1",
"tsconfig-paths": "^4.0.0",
"typescript": "^4.7.3",
"typings": "^2.1.1"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint --quiet --ignore-path \".eslintignore\" --fix"
],
"*.{json,css,js}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run test:unit"
}
}
}