-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
107 lines (107 loc) · 3.24 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
103
104
105
106
107
{
"name": "shallow-with-context",
"version": "0.6.0",
"description": "The module is temporary workaround for passing context for shallow rendering",
"main": "dist/shallowWithContext",
"module": "dist/shallowWithContext",
"scripts": {
"preversion": "npm test && npm run lint && npm run build",
"version": "npm run changelog && git add CHANGELOG.md",
"postversion": "npm run build && npm run changelog && git push && git push --tags && npm publish",
"lint": "node_modules/.bin/eslint -c ./.eslintrc.js --fix './**/*.{js,jsx}' --ignore-path ./.prettierignore",
"dev": "node_modules/.bin/rollup -c rollup.config.js --watch --bundleConfigAsCjs",
"test": "node_modules/.bin/jest --no-watchman",
"build": "node_modules/.bin/rollup -c rollup.config.js --bundleConfigAsCjs",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
"commit": "node_modules/.bin/git-cz"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mjancarik/shallow-with-context.git"
},
"keywords": [
"React",
"Shallow",
"Enzyme",
"Context"
],
"author": "Miroslav Jancarik",
"license": "ISC",
"bugs": {
"url": "https://github.com/mjancarik/shallow-with-context/issues"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"homepage": "https://github.com/mjancarik/shallow-with-context#readme",
"devDependencies": {
"@babel/core": "^7.23.0",
"@babel/eslint-parser": "^7.22.15",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-transform-modules-commonjs": "^7.23.0",
"@babel/preset-react": "^7.22.15",
"@cfaester/enzyme-adapter-react-18": "^0.7.1",
"@commitlint/cli": "^17.7.2",
"@commitlint/config-conventional": "^17.7.0",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-run": "^3.0.1",
"babel-jest": "^29.7.0",
"commitizen": "^4.3.0",
"conventional-changelog-cli": "^4.1.0",
"coveralls": "^3.1.1",
"cz-conventional-changelog": "^3.3.0",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.6.2",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-jest": "^27.4.2",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.2",
"husky": "^8.0.3",
"jest": "^29.7.0",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^8.1.3",
"redux": "^4.2.1",
"rollup": "^3.29.4"
},
"jest": {
"bail": false,
"verbose": true,
"testEnvironment": "node",
"coverageThreshold": {
"global": {
"functions": 30,
"lines": 30,
"statements": 30
}
},
"collectCoverageFrom": [
"<rootDir>/src/**/*.{js,jsx}"
],
"modulePaths": [
"<rootDir>/"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"testRegex": "(/__tests__/.*(Spec))\\.jsx?$"
},
"dependencies": {
"create-clone-class": "^0.2.1",
"to-aop": "^0.5.4"
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"precommit": "npm run lint",
"commitmsg": "node_modules/.bin/commitlint -e $HUSKY_GIT_PARAMS"
}
}
}