-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 1.82 KB
/
package.json
File metadata and controls
59 lines (59 loc) · 1.82 KB
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
{
"name": "@moraes/nodejs-ts-library-starter",
"version": "1.0.0",
"description": "nodejs typescript library starter",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"files": [
"./dist"
],
"repository": "git@github.com:fernandomoraes/nodejs-ts-library-starter.git",
"author": "Fernando Moraes <fernandosdemoraes@gmail.com>",
"license": "MIT",
"private": true,
"scripts": {
"eslint:fix": "eslint . --cache --fix --ext .js,.ts",
"prettier:fix": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
"lint:eslint": "eslint . --cache --ext .js,.ts",
"lint:prettier": "prettier --check \"**/*.{ts,tsx,js,jsx,json,md}\"",
"build:cjs": "tsc",
"build:esm": "tsc --outDir dist/esm --module ES2020",
"prebuild": "yarn lint:prettier && yarn lint:eslint",
"build": "rimraf dist && yarn build:cjs && yarn build:esm",
"test": "jest"
},
"devDependencies": {
"@types/jest": "^26.0.10",
"@typescript-eslint/eslint-plugin": "^3.9.1",
"@typescript-eslint/parser": "^3.9.1",
"eslint": "^7.7.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-airbnb-typescript": "^9.0.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-import-helpers": "^1.1.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.0",
"eslint-plugin-react-hooks": "^4.1.0",
"husky": ">=4",
"jest": "^26.4.2",
"lint-staged": ">=10",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"ts-jest": "^26.2.0",
"typescript": "3.9.7"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts}": "yarn run eslint:fix",
"*.{js,ts,css,md}": "yarn run prettier:fix"
},
"dependencies": {
"axios": "^0.20.0"
}
}