-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
107 lines (107 loc) · 3.45 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": "relay-forms",
"version": "3.0.0",
"keywords": [
"forms",
"relay",
"hooks",
"react",
"react-native",
"validation"
],
"main": "lib/index.js",
"module": "./lib/es/index.js",
"unpkg": "lib/umd/relay-forms.min.js",
"license": "MIT",
"description": "Relay Forms",
"author": {
"name": "morrys"
},
"homepage": "https://morrys.github.io/relay-forms/docs/relay-forms.html",
"repository": {
"type": "git",
"url": "https://github.com/morrys/relay-forms"
},
"scripts": {
"clean": "rimraf lib",
"relay": "relay-compiler",
"compile": "npm run clean && tsc && tsc --project tsconfig.esm.json && npm run build:js && npm run build:replace && npm run rollup",
"build": "npm run compile && npm run test",
"test": "cross-env NODE_ENV=test jest --coverage",
"fast:test": "npm run clean && tsc && npm run test",
"format": "prettier --write \"src/**/*.ts*\" \"!src/relay/**/*.ts\"",
"format:ci": "prettier --list-different \"src/**/*.ts*\" \"!src/relay/**/*.ts\"",
"eslint": "eslint ./src --ext .js,.jsx,.ts,.tsx",
"prepublishOnly": "npm run build",
"build:js": "babel lib --out-dir lib --extensions \".js,.jsx\" && babel lib/es --out-dir lib/es --extensions \".js,.jsx\"",
"build:replace": "replace-in-file --configFile=replace.config.js",
"rollup": "rollup -c"
},
"relay": {
"src": "./compile/",
"schema": "./forms.graphql",
"excludes": [
"__generated__",
"node_modules"
],
"language": "typescript",
"artifactDirectory": "./src/relay",
"persistConfig": {
"file": "./ignore-queries.json"
}
},
"peerDependencies": {
"react": "^16.9.0 || ^17 || ^18",
"relay-runtime": "^13.0.2 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0",
"relay-hooks": "^7.2.0 || ^8.0.0 || ^9.0.0"
},
"devDependencies": {
"@babel/cli": "^7.8.3",
"@babel/runtime": "7.20.7",
"babel-preset-fbjs": "^3.3.0",
"@types/babel__traverse": "7.18.2",
"cross-env": "6.0.3",
"typescript": "3.8.3",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"graphql": "^14.2.0",
"@types/react": "18.0.26",
"@types/react-dom": "18.0.10",
"@types/relay-runtime": "^14.0.0",
"relay-runtime": "^18.0.0",
"relay-compiler": "^18.0.0",
"relay-hooks": "^9.1.0",
"replace-in-file": "6.2.0",
"react-test-renderer": "^18.0.0",
"relay-test-utils": "^18.0.0",
"relay-test-utils-internal": "^18.0.0",
"@types/jest": "24.0.18",
"ts-jest": "^26.5.6",
"jest": "^26.0.0",
"promise-polyfill": "6.1.0",
"@typescript-eslint/eslint-plugin": "2.25.0",
"@typescript-eslint/parser": "2.25.0",
"eslint": "6.8.0",
"eslint-config-prettier": "6.10.1",
"eslint-import-resolver-typescript": "2.0.0",
"eslint-plugin-import": "2.20.1",
"eslint-plugin-json": "2.1.1",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-prettier": "3.1.2",
"eslint-plugin-react": "7.19.0",
"eslint-plugin-react-hooks": "3.0.0",
"prettier": "1.19.1",
"rimraf": "^2.5.4",
"@types/node": "13.9.3",
"relay-compiler-language-typescript": "12.0.0",
"@testing-library/react": "13.4.0",
"rollup": "^2.23.0",
"rollup-plugin-sourcemaps": "0.6.2",
"rollup-plugin-terser": "^6.1.0",
"rollup-plugin-typescript2": "^0.27.1",
"@rollup/plugin-commonjs": "14.0.0",
"@rollup/plugin-node-resolve": "^8.4.0",
"@rollup/plugin-replace": "^2.3.3",
"@rollup/plugin-babel": "5.2.2"
}
}