-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
102 lines (102 loc) · 2.91 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "react-against-the-machine",
"version": "0.2.0",
"license": "MIT",
"author": {
"name": "Javier Lopez de Ancos",
"email": "[email protected]",
"url": "https://javierlopezdeancos.dev/"
},
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts",
"files": [
"/lib"
],
"engines": {
"node": ">=16.8.0",
"npm": ">=7.24.0"
},
"type": "module",
"scripts": {
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir lib/cjs",
"build:coverage:shield": "./node_modules/jest-coverage-shield/lib/cli.js -d ./coverage",
"format": "prettier --write 'src/**/*.{ts,tsx,scss,css,json}'",
"lint": "eslint --ext .js,.jsx,.ts,.tsx src --color",
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx src --color --fix",
"test": "jest",
"test:coverage": "jest --coverage && coverage-shield && npm run build:coverage:shield",
"test:watch": "jest --watch",
"prepare": "husky install"
},
"jest": {
"coveragePathIgnorePatterns": [
"(/__mocks__/.*|\\.(mock))\\.(ts|tsx|js)$"
],
"collectCoverageFrom": [
"src/*.{ts,tsx}"
],
"testEnvironment": "jsdom",
"testRunner": "jest-circus/runner",
"transform": {
".(ts|tsx)": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"setupFilesAfterEnv": [
"<rootDir>/jest.setup.ts"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/javierlopezdeancos/react-against-the-machine.git"
},
"keywords": [
"typescript",
"state machine",
"react"
],
"bugs": {
"url": "https://github.com/javierlopezdeancos/react-against-the-machine/issues"
},
"homepage": "https://github.com/javierlopezdeancos/react-against-the-machine#readme",
"dependencies": {
"erre-ele": "^0.2.2"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@types/jest": "^29.2.5",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.10",
"@types/testing-library__jest-dom": "^5.14.5",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.6.0",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.0",
"jest": "^29.3.1",
"jest-config": "^29.3.1",
"jest-coverage-shield": "^1.1.2",
"prettier": "^2.8.2",
"prettier-eslint": "^15.0.1",
"prettier-eslint-cli": "^7.1.0",
"ts-jest": "^29.0.0",
"typescript": "^4.9.4"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
}