-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
72 lines (72 loc) · 1.86 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
{
"name": "spacecraft-app-cli",
"version": "0.0.8",
"description": "A simple CLI Project to solve the Spacecraft problem with typescript",
"main": "bin/spacecraft-app-cli.js",
"author": "Lucas Pimenta",
"license": "MIT",
"bin": "./bin/spacecraft-app-cli.js",
"engines": {
"node": "16.0.0",
"npm": "7.10.0"
},
"dependencies": {
"readline": "^1.3.0"
},
"devDependencies": {
"@types/jest": "^26.0.14",
"@typescript-eslint/eslint-plugin": "^4.3.0",
"@typescript-eslint/parser": "^4.3.0",
"eslint": "^7.10.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.3.0",
"jest": "^26.4.2",
"lint-staged": "^10.4.0",
"prettier": "^2.1.2",
"ts-jest": "^26.4.1",
"typescript": "^4.0.3"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pyymenta/spacecraft-cli.git"
},
"keywords": [
"typescript",
"spacecraft",
"help-wanted",
"digitalocean",
"beginner-friendly",
"hacktoberfest",
"hacktoberfest2020",
"javascript",
"cli",
"challenge",
"jest"
],
"scripts": {
"audit-dependencies": "npx better-npm-audit audit",
"build": "tsc --build .tsconfig.json",
"check-node-version": "npx check-node-version --print --package",
"preinstall": "npm run check-node-version",
"lint": "prettier --write '{src,tests}/**/*.{ts,tsx}' && eslint '{src,tests}/**/*.{ts,tsx}' --quiet",
"postversion": "git push && git push --tags",
"preversion": "npm run lint",
"start": "node dist/main.js",
"test:dev": "jest --no-cache --watchAll",
"test": "jest --no-cache --coverage",
"version": "git add -A src"
},
"lint-staged": {
"src/**/*.{js,ts}": [
"npm run lint",
"git add ."
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm test"
}
}
}