-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 3.13 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
{
"name": "pure-modal-react-portal",
"description": "A simple, pure, and accessible modal component for React with portal support.",
"version": "0.1.0",
"license": "ISC",
"author": {
"name": "Thai Nguyen (aldenn)",
"email": "[email protected]"
},
"keywords": [
"pure-modal-react-portal",
"pure-modal-react",
"pure-modal",
"react-component",
"modal",
"modal-portal"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"homepage": "https://github.com/thaind97git/pure-modal-react-portal#readme",
"bugs": {
"url": "https://github.com/thaind97git/pure-modal-react-portal/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/thaind97git/pure-modal-react-portal.git"
},
"scripts": {
"test": "jest --config src/jest.config.js --updateSnapshot",
"webpack:dev": "webpack --config webpack/webpack.dev.js",
"webpack:build": "webpack --config webpack/webpack.prod.js && cp package.json README.md ./dist",
"build": "tsc && npm run webpack:dev && npm run webpack:build",
"lint": "eslint .",
"format": "prettier --write \"**/*.+(js|jsx|ts|json|css|md)\""
},
"lint-staged": {
"*.+(js|jsx|ts|tsx)": "eslint --max-warnings 0 --fix",
"*.+(js|jsx|ts|tsx|json|css|md)": "prettier --write"
},
"devDependencies": {
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.13.9",
"@babel/preset-react": "^7.12.13",
"@testing-library/jest-dom": "^5.11.10",
"@testing-library/react": "^12.0.0",
"@types/enzyme": "^3.10.9",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/jest": "^27.0.1",
"@types/react-dom": "^17.0.9",
"@types/react-test-renderer": "^17.0.1",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.29.3",
"babel-jest": "^27.0.6",
"babel-loader": "^8.2.2",
"babel-preset-env": "^1.7.0",
"babel-runtime": "^6.26.0",
"cross-env": "^7.0.3",
"css-loader": "^6.2.0",
"dotenv": "^10.0.0",
"dotenv-expand": "^5.1.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"eslint": "^7.21.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.3.1",
"husky": "^7.0.0",
"jest": "^27.0.6",
"jest-watch-typeahead": "^0.6.2",
"lint-staged": "^11.1.2",
"node-sass": "^6.0.1",
"postcss": "^8.2.8",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-loader": "^6.1.1",
"postcss-preset-env": "^6.7.0",
"prettier": "^2.2.1",
"react": "^17.0.1",
"react-dev-utils": "^11.0.4",
"react-dom": "^17.0.1",
"react-test-renderer": "^17.0.2",
"resolve-url-loader": "^4.0.0",
"sass-loader": "^12.1.0",
"style-loader": "^3.2.1",
"ts-jest": "^27.0.5",
"ts-loader": "^9.2.5",
"typescript": "^4.4.2",
"webpack": "^5.24.4",
"webpack-cli": "^4.5.0",
"webpack-dev-server": "^4.0.0",
"webpack-nano": "^1.1.1"
},
"peerDependencies": {
"react": "^15.3.0 || ^16.0 || ^17.0 || ^18.0",
"react-dom": "^15.3.0 || ^16.0 || ^17.0 || ^18.0"
}
}