-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
78 lines (78 loc) · 1.63 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
75
76
77
78
{
"name": "console-testing-library",
"version": "0.6.1",
"description": "Testing console the right way",
"engines": {
"node": "^10 || >=12"
},
"type": "module",
"main": "dist/index.js",
"typings": "index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"default": "./src/index.js"
},
"./pure": {
"require": "./dist/pure.js",
"default": "./src/pure.js"
}
},
"repository": "https://github.com/kevin940726/console-testing-library.git",
"author": "Kai Hao",
"license": "MIT",
"private": false,
"scripts": {
"build": "babel src -d dist",
"test": "jest",
"prepare": "yarn build && yarn test"
},
"dependencies": {
"jest-snapshot": "^26.0.0",
"pretty-format": "^26.0.0",
"strip-ansi": "^6.0.0"
},
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.10",
"ansi-styles": "^5.0.0",
"canopic": "^0.2.1"
},
"eslintConfig": {
"extends": "react-app"
},
"eslintIgnore": [
"*.d.ts",
"dist/",
"node_modules/"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css,json,md,mdx,html}": [
"prettier --write",
"git add"
],
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"git add"
]
},
"prettier": {
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"trailingComma": "es5",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "avoid"
}
}