-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
138 lines (138 loc) · 4.03 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "hook-hoc",
"version": "1.2.0",
"description": "Use React hooks with your class components by Higher Order Component",
"sideEffects": false,
"main": "dist/index.cjs.js",
"module": "lib/index.js",
"unpkg": "dist/index.umd.min.js",
"types": "lib/index.d.ts",
"files": [
"dist",
"lib",
"LICENSE",
"README.md"
],
"scripts": {
"build:lib": "NODE_ENV=production BROWSERSLIST_ENV='2019' babel src --out-dir lib --source-maps inline --extensions '.ts,.tsx,.js' --ignore '**/__tests__/**' --ignore '**/*.d.ts'",
"build:types": "tsc --emitDeclarationOnly -p ./src",
"build:bundle": "run build:js:node && run build:js:browser",
"build:js:node": "BROWSERSLIST_ENV=node12 rollup -c",
"build:js:browser": "BROWSERSLIST_ENV=legacy rollup -c",
"build:clean": "rimraf lib",
"build": "run build:lib && run build:types",
"dev": "yarn run build:lib -w",
"prepare": "run build:clean && run build",
"prepack": "run prepare && run build:bundle",
"lint": "eslint --ext .ts,.tsx",
"format": "eslint --fix \"src/**/*.{js,ts,tsx}\"",
"test": "NODE_ENV=test jest",
"test:ci": "run test --ci",
"test:watch": "run test --watch",
"test:coverage": "run test --coverage",
"changelog": "npx auto-changelog --stdout",
"beforeStage": "npx auto-changelog -p && git add CHANGELOG.md"
},
"keywords": [
"react",
"typescript",
"hook",
"class",
"component",
"withHook",
"higher order component",
"hoc",
"bridge",
"adapter"
],
"author": "Nathaniel Tucker <me@ntucker.me> (https://github.com/ntucker)",
"license": "Apache-2.0",
"homepage": "https://github.com/ntucker/hook-hoc#readme",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com:ntucker/hook-hoc.git"
},
"bugs": {
"url": "https://github.com/ntucker/hook-hoc/issues"
},
"engines": {
"node": "^12.17 || ^13.7 || >=14"
},
"devDependencies": {
"@anansi/babel-preset": "5.0.2",
"@anansi/browserslist-config": "^1.5.0",
"@anansi/eslint-plugin": "0.16.48",
"@babel/cli": "7.23.9",
"@babel/core": "7.23.9",
"@testing-library/react": "14.2.1",
"@types/jest": "29.5.12",
"@types/react": "18.2.55",
"@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "6.20.0",
"auto-changelog": "2.4.0",
"babel-jest": "29.7.0",
"babel-plugin-root-import": "6.6.0",
"coveralls": "3.1.1",
"cpy-cli": "5.0.0",
"eslint": "8.56.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"prettier": "3.2.5",
"react": "18.2.0",
"react-dom": "18.2.0",
"rollup": "2.79.1",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-filesize": "9.1.2",
"rollup-plugin-json": "4.0.0",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-terser": "7.0.2",
"ts-jest": "29.1.2",
"typescript": "5.3.3"
},
"peerDependencies": {
"@types/react": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"react": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"dependencies": {
"@types/hoist-non-react-statics": "^3.3.5",
"hoist-non-react-statics": "^3.3.2"
},
"browserslist": [
"extends @anansi/browserslist-config"
],
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"arrowParens": "avoid",
"experimentalTernaries": true
},
"auto-changelog": {
"template": "./scripts/changelog.hbs",
"breakingPattern": "breaking:",
"unreleased": true,
"commitLimit": false,
"handlebarsSetup": "./scripts/changelogSetup.js"
},
"git": {
"changelog": "npx auto-changelog --stdout"
},
"release-it": {
"github": {
"release": true
}
},
"packageManager": "yarn@4.1.0"
}