-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
60 lines (60 loc) · 1.66 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
{
"author": "Codecademy",
"description": "Standardized test setup methods for React components in tests.",
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@babel/preset-typescript": "^7.12.7",
"@testing-library/react": "^15.0.0",
"@types/jest": "^26.0.20",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@typescript-eslint/eslint-plugin": "4.13.0",
"@typescript-eslint/parser": "^4.13.0",
"babel-jest": "^26.6.3",
"eslint": "^7.17.0",
"eslint-config-prettier": "^7.1.0",
"husky": "^4.3.7",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1",
"react": "^18.0.1",
"react-dom": "^18.0.1",
"typescript": "^4.9.5"
},
"main": "src/index.js",
"homepage": "https://github.com/Codecademy/component-test-setup#readme",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"keywords": [
"component",
"react",
"rtl",
"test"
],
"license": "MIT",
"lint-staged": {
"**/*.{js,json,ts,xml,yaml}": [
"prettier --write"
]
},
"name": "component-test-setup",
"repository": {
"type": "git",
"url": "git+https://github.com/Codecademy/component-test-setup.git"
},
"scripts": {
"eslint": "eslint \"./src/*.ts\" \"./src/**/*.ts\" --report-unused-disable-directives",
"prettier": "prettier \"./*.{json,ts,tsx,yml}\" \"./src/**/*.{json,ts,tsx,yml}\"",
"prettier:write": "npm run prettier -- --write",
"test": "jest",
"test:ci": "jest --maxWorkers=2",
"compile": "tsc --module commonjs"
},
"types": "src/index.d.ts",
"version": "1.0.0"
}