-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 2.34 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
{
"name": "use-record-set",
"version": "0.2.1-0",
"description": "A React hook for quickly prototyping data models.",
"repository": "github:haydn/use-record-set",
"keywords": [
"GraphQL",
"prototyping",
"data"
],
"main": "cjs/index.js",
"author": "Haydn Ewers",
"license": "MIT",
"private": false,
"engines": {
"node": ">=14"
},
"scripts": {
"build": "yarn build:declaration && yarn build:cjs && yarn build:umd && yarn build:esm",
"build:declaration": "tsc index.ts --declaration --emitDeclarationOnly && flowgen index.d.ts -o index.js.flow",
"build:cjs": "tsc index.ts --target ES2015 --module CommonJS --outDir cjs",
"build:umd": "tsc index.ts --target ES2015 --module UMD --moduleResolution node --outDir umd",
"build:esm": "tsc index.ts --target ESNext --module ESNext --moduleResolution node --outDir esm",
"build:test": "tsc test.ts --target ES2015 --module CommonJS --esModuleInterop",
"release": "np --no-2fa",
"test": "yarn test:prettier && yarn test:jest",
"test:prettier": "prettier -c index.ts README.md test.ts",
"test:jest": "yarn build:test && yarn jest test.js --env=jsdom && yarn jest test.js --env=node",
"version": "yarn build"
},
"files": [
"index.d.ts",
"index.js.flow",
"cjs/index.js",
"umd/index.js",
"esm/index.js",
"LICENSE",
"README.md"
],
"dependencies": {
"event-target-shim": "^6.0.2",
"graphql": "^15.5.1",
"js-base64": "^3.6.1",
"uuid": "^8.3.2"
},
"peerDependencies": {
"react": "^17.0.2"
},
"devDependencies": {
"@testing-library/react-hooks": "^7.0.1",
"@types/dedent": "^0.7.0",
"@types/jest": "^26.0.24",
"@types/node": "^16.4.9",
"@types/react": "^17.0.19",
"@types/react-dom": "^17.0.9",
"@types/uuid": "^8.3.1",
"dedent": "^0.7.0",
"flowgen": "^1.14.1",
"graphql-tag": "^2.12.5",
"jest": "^27.0.6",
"np": "^7.5.0",
"prettier": "^2.3.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"typescript": "^4.3.5"
},
"prettier": {
"arrowParens": "always",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"printWidth": 100,
"proseWrap": "never",
"quoteProps": "as-needed",
"semi": true,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false
}
}