-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
51 lines (51 loc) · 1.68 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
{
"name": "base-typescript-node",
"version": "1.0.0",
"description": "Baseline repo for Typescript with Babel and Eslint configuration",
"main": "index.js",
"scripts": {
"dev": "npx babel src --out-dir dist --extensions '.ts,.tsx,.js,.jsx' --watch",
"run": "node dist/index.js",
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint src --ext .jsx,.js,.ts,.tsx",
"lint:fix": "eslint src --ext .jsx,.js,.ts,.tsx --fix",
"lint:githook": "eslint --ext .jsx,.js,.ts,.tsx --fix --ignore-path .gitignore",
"lint:ci": "eslint src --ext .jsx,.js,.ts,.tsx && tsc --noEmit"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"npm run lint:githook"
]
},
"author": "Daniel Favand <[email protected]>",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/preset-env": "^7.12.10",
"@babel/preset-react": "^7.12.10",
"@babel/preset-typescript": "^7.12.7",
"@types/react": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^4.5.0",
"eslint": "^7.2.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-airbnb-typescript": "^12.0.0",
"eslint-config-prettier": "6.12.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "3.1.4",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "4.3.0",
"lint-staged": "^10.4.0",
"prettier": "2.1.2",
"typescript": "^4.1.2"
}
}