-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
92 lines (92 loc) · 2.3 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-authorization",
"version": "0.4.1",
"description": "React authorization library.",
"license": "MIT",
"keywords": [
"react",
"authorization",
"declarative"
],
"author": {
"name": "Martin Ledvinka",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/ledsoft/react-authorization.git"
},
"dependencies": {
"@babel/runtime": "^7.21.0"
},
"peerDependencies": {
"react": ">= 16.2.0",
"react-dom": ">= 16.2.0"
},
"main": "lib/react-authorization.js",
"types": "types/react-authorization.d.ts",
"devDependencies": {
"@babel/cli": "^7.21.0",
"@babel/core": "^7.21.4",
"@babel/preset-env": "^7.21.4",
"@babel/preset-react": "^7.18.6",
"@babel/preset-stage-0": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.21.4",
"@types/react": "^17.0.58",
"babel-eslint": "^10.1.0",
"babel-jest": "^29.5.0",
"babel-loader": "^9.1.2",
"enzyme": "^3.11.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
"jest": "^27.2.0",
"prop-types": "^15.8.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"webpack": "^5.81.0",
"webpack-cli": "^4.10.0",
"webpack-node-externals": "^3.0.0"
},
"files": [
"lib",
"types"
],
"scripts": {
"test": "jest --env=jsdom",
"build": "./node_modules/.bin/webpack --mode production",
"lib": "babel ./src -d ./lib",
"build-npm-prod": "npm run test && npm run build && npm run lib && npm pack",
"prebuild-npm-prod": "npm install"
},
"jest": {
"setupFiles": [
"<rootDir>/test/config/polyfills.js"
],
"setupFilesAfterEnv": [
"<rootDir>/test/config/setupEnzyme.js"
],
"testMatch": [
"<rootDir>/test/__tests__/**/?(*.)(spec|test).(j|t)s?(x)"
],
"testEnvironment": "jsdom",
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest",
"^(?!.*\\.(js|jsx|mjs|css|json)$)": "<rootDir>/test/config/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|ts|tsx)$"
],
"moduleFileExtensions": [
"web.js",
"js",
"web.jsx",
"jsx",
"json",
"node",
"mjs"
],
"reporters": [
"default"
]
}
}