-
Notifications
You must be signed in to change notification settings - Fork 64
/
package.json
92 lines (92 loc) · 2.6 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
{
"name": "react-card-flip",
"version": "1.2.3",
"description": "ReactCardFlip",
"main": "./lib/ReactCardFlip.js",
"types": "./lib/ReactCardFlip.d.ts",
"scripts": {
"prebuild": "rm -rf lib",
"build": "tsc",
"build-example": "webpack --env production --config example/webpack.config.js",
"build-e2e": "webpack --env production --config e2e/webpack.e2e.js",
"postbuild": "cp types/index.d.ts lib/ReactCardFlip.d.ts",
"start": "npm run build-example && webpack-dev-server --progress --config example/webpack.config.js",
"test": "npm run build-e2e && jest",
"test:coverage": "jest --coverage",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"test:watch": "npm run build-e2e && jest --watch",
"lint": "tslint -p . --fix"
},
"repository": {
"type": "git",
"url": "https://github.com/AaronCCWong/react-card-flip.git"
},
"keywords": [
"react",
"react-component",
"react-card-flip"
],
"author": "Aaron Wong",
"license": "MIT",
"bugs": {
"url": "https://github.com/AaronCCWong/react-card-flip/issues"
},
"homepage": "https://github.com/AaronCCWong/react-card-flip",
"files": [
"lib/**/*"
],
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.10.5",
"@babel/plugin-proposal-function-bind": "^7.10.5",
"@babel/polyfill": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"@babel/preset-react": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@types/jest": "^24.9.1",
"@types/react": "^16.9.43",
"@types/react-dom": "^16.9.8",
"babel-jest": "^29.1.2",
"babel-loader": "^8.2.5",
"coveralls": "^3.1.0",
"file-loader": "^6.2.0",
"jest": "^29.1.2",
"jest-environment-jsdom": "^29.1.2",
"puppeteer": "^1.11.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ts-jest": "^29.0.3",
"tslint": "^5.20.1",
"typescript": "^4.8.4",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.11.1",
"yargs": "^14.2.3"
},
"jest": {
"preset": "ts-jest",
"transform": {
"^.+\\.tsx?$": "<rootDir>/tools/jest/jest.preprocess.js"
},
"testPathIgnorePatterns": [
"node_modules"
],
"verbose": true,
"testEnvironment": "jsdom",
"testEnvironmentOptions": {
"url": "http://localhost/"
},
"setupFiles": [
"./tools/jest/jest.setup"
],
"collectCoverageFrom": [
"src/*.tsx"
]
}
}