forked from reactive/data-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
143 lines (143 loc) · 4.16 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
139
140
141
142
143
{
"name": "rest-hooks",
"version": "2.1.1",
"description": "Delightful data fetching for React",
"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",
"test.js",
"test.d.ts",
"LICENSE",
"README.md",
"./scripts/typescript.svg",
"./rest_hooks_logo_and_text.svg"
],
"scripts": {
"build:lib": "cross-env NODE_ENV=production babel src --out-dir lib --source-maps inline --extensions '.ts,.tsx,.js' --ignore '**/__tests__/**' --ignore '**/*.d.ts'",
"build:types": "ttsc --emitDeclarationOnly -p ./src",
"build:bundle": "rollup -c",
"build:clean": "rimraf lib",
"build": "npm run build:lib && npm run build:types && cpy ./src/resource/normal.d.ts ./lib/resource",
"dev": "yarn run build:lib -w",
"prepare": "npm run build:clean && npm run build",
"prepublishOnly": "npm run build:bundle",
"lint": "eslint --ext .ts,.tsx",
"format": "prettier-eslint \"src/**/*.{js,ts,tsx}\" --write",
"test": "cross-env NODE_ENV=test jest",
"test:ci": "npm test -- --ci",
"test:watch": "npm test -- --watch",
"test:coverage": "npm test -- --coverage",
"changelog": "npx auto-changelog --stdout",
"beforeStage": "npx auto-changelog -p && git add CHANGELOG.md"
},
"keywords": [
"rest",
"react",
"flux",
"ajax",
"networking",
"suspense",
"fetch",
"hook",
"typescript",
"redux",
"data fetching",
"data cache",
"api",
"api call",
"normalized cache"
],
"author": "Nathaniel Tucker <me@ntucker.me> (https://github.com/ntucker)",
"license": "Apache-2.0",
"homepage": "https://resthooks.io",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com:coinbase/rest-hooks.git"
},
"bugs": {
"url": "https://github.com/coinbase/rest-hooks/issues"
},
"auto-changelog": {
"template": "./scripts/changelog.hbs",
"breakingPattern": "\\[breaking\\]",
"unreleased": true,
"commitLimit": false,
"handlebarsSetup": "./scripts/changelogSetup.js"
},
"release-it": {
"github": {
"release": true,
"releaseNotes": "npx auto-changelog --stdout --starting-commit \"$(git rev-list --reverse ${latestVersion}...HEAD | head -n 1)\""
}
},
"devDependencies": {
"@anansi/babel-preset": "^0.17.6",
"@anansi/eslint-config": "^0.6.5",
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@testing-library/react": "^9.1.1",
"@types/jest": "^24.0.17",
"@types/lodash": "^4.14.136",
"@types/nock": "^10.0.3",
"@types/react": "^16.9.1",
"@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/parser": "^2.0.0",
"@zerollup/ts-transform-paths": "^1.7.3",
"auto-changelog": "^1.14.1",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^24.8.0",
"coveralls": "^3.0.6",
"cpy-cli": "^2.0.0",
"cross-env": "^5.2.0",
"eslint": "^6.1.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-react": "^7.14.3",
"ignore-styles": "^5.0.1",
"jest": "^24.8.0",
"nock": "^10.0.6",
"prettier-eslint-cli": "^5.0.0",
"react": "16.9.0",
"react-dom": "16.9.0",
"react-test-renderer": "^16.9.0",
"rollup": "^1.17.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.0.1",
"rollup-plugin-filesize": "^6.1.1",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^5.1.1",
"scheduler": "^0.15.0",
"ts-jest": "^24.0.2",
"ttypescript": "^1.5.7",
"typescript": "^3.5.3"
},
"dependencies": {
"@babel/runtime": "^7.5.5",
"@testing-library/react-hooks": "^2.0.1",
"@types/superagent": "^4.1.3",
"flux-standard-action": "^2.1.0",
"lodash": "^4.17.15",
"normalizr": "^3.4.1",
"redux": "^4.0.4",
"reselect": "^4.0.0",
"superagent": "^5.1.0"
},
"peerDependencies": {
"@types/react": "^16.8.2",
"react": "^16.8.2"
},
"peerDependenciesMeta": {
"@testing-library/react-hooks": {
"optional": true
},
"@types/react": {
"optional": true
}
}
}