This repository has been archived by the owner on Oct 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
119 lines (119 loc) · 3.41 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
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "use-wordpress",
"version": "1.0.8",
"description": "Useful React Hooks for WordPress.",
"keywords": [
"hooks",
"react",
"wordpress"
],
"homepage": "https://github.com/magicink/use-wordpress#readme",
"bugs": {
"url": "https://github.com/magicink/use-wordpress/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/magicink/use-wordpress.git"
},
"license": "ISC",
"author": {
"name": "Brandon Tom",
"email": "[email protected]"
},
"main": "dist/bundle.js",
"files": [
"dist/bundle.js"
],
"scripts": {
"build": "rollup --config rollup.config.js",
"clean": "npx rimraf ./dist",
"lint": "standard ./src/**/*.js --fix",
"patch": "npm version patch --no-git-tag-version",
"prepare": "npx sort-package-json && npm run build",
"test": "jest"
},
"husky": {
"hooks": {
"pre-commit": "npm run build && npm test && npm run lint && npm run clean"
}
},
"jest": {
"roots": [
"<rootDir>/src/",
"<rootDir>/tests/"
],
"setupFiles": [
"<rootDir>/tests/setup.js"
],
"setupFilesAfterEnv": [
"@testing-library/jest-dom/extend-expect"
],
"testEnvironment": "jest-environment-jsdom-global"
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.10.5",
"@babel/plugin-proposal-decorators": "^7.10.5",
"@babel/plugin-proposal-export-default-from": "^7.10.4",
"@babel/plugin-proposal-object-rest-spread": "^7.10.4",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-arrow-functions": "^7.10.4",
"@babel/plugin-transform-block-scoping": "^7.10.5",
"@babel/plugin-transform-computed-properties": "^7.10.4",
"@babel/plugin-transform-destructuring": "^7.10.4",
"@babel/plugin-transform-modules-commonjs": "^7.10.4",
"@babel/plugin-transform-parameters": "^7.10.5",
"@babel/plugin-transform-regenerator": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.10.5",
"@babel/plugin-transform-spread": "^7.10.4",
"@babel/plugin-transform-template-literals": "^7.10.5",
"@babel/preset-env": "^7.10.4",
"@babel/preset-react": "^7.10.4",
"@babel/register": "^7.10.5",
"@babel/runtime": "^7.10.5",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/react-hooks": "^2.0.3",
"acorn": "^6.0.0",
"babel-eslint": "^10.0.2",
"core-js": "^3.2.1",
"eslint-plugin-react-hooks": "^1.7.0",
"flow-bin": "^0.105.2",
"husky": "^3.0.4",
"isomorphic-fetch": "^3.0.0",
"jest": "^26.1.0",
"jest-environment-jsdom": "^26.1.0",
"jest-environment-jsdom-global": "^2.0.4",
"jooks": "^1.0.0",
"nock": "^10.0.6",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-test-renderer": "^16.13.1",
"regenerator-runtime": "^0.13.3",
"rollup": "^2.23.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-flow": "^1.1.1",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^6.1.0",
"standard": "^13.1.0",
"url-search-params-polyfill": "^7.0.0"
},
"standard": {
"globals": [
"afterAll",
"afterEach",
"beforeAll",
"beforeEach",
"describe",
"expect",
"fetch",
"it",
"jest"
],
"parser": "babel-eslint",
"rules": {
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
}
}
}