forked from wei/socialify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
122 lines (122 loc) · 3.69 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
{
"name": "socialify",
"version": "1.0.0",
"description": "Socialify your project. Share with the world!",
"author": "@CryogenicPlanet, @wei",
"license": "MIT",
"repository": "https://github.com/wei/socialify.git",
"scripts": {
"dev": "next dev -p ${PORT-3000}",
"debug": "NODE_OPTIONS='--inspect' next",
"build": "next build",
"test": "jest",
"test:watch": "jest --watch",
"start": "node server.js",
"lint": "eslint . --ext .ts,.tsx",
"lint:fix": "yarn lint --fix",
"prettier": "prettier --check .",
"prettier:fix": "prettier --write .",
"verify": "yarn prettier && yarn lint && yarn test",
"relay": "relay-compiler --language typescript --extensions ts tsx"
},
"dependencies": {
"antd": "^4.16.13",
"copee": "^1.0.6",
"hero-patterns": "^2.1.0",
"next": "^10.0.0",
"node-fetch": "^2.6.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-relay": "^10.0.1",
"relay-runtime": "^10.0.1",
"styled-jsx": "^4.0.1",
"typescript": "~4.4.2",
"use-debounce": "^7.0.0"
},
"devDependencies": {
"@types/enzyme": "^3.10.9",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/enzyme-to-json": "^1.5.4",
"@types/jest": "^27.0.1",
"@types/lodash": "^4.14.172",
"@types/node": "^16.7.13",
"@types/node-fetch": "^2.5.12",
"@types/react": "^17.0.20",
"@types/react-dom": "^17.0.9",
"@types/react-relay": "^7.0.15",
"@types/relay-runtime": "^10.0.9",
"@typescript-eslint/eslint-plugin": "^4.31.0",
"@typescript-eslint/parser": "^4.31.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.1.0",
"babel-plugin-relay": "^10.0.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"enzyme-to-json": "^3.6.2",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-prettier-standard": "^4.0.1",
"eslint-config-react-app": "^6.0.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-flowtype": "^5.9.2",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-react": "^7.25.1",
"eslint-plugin-react-hooks": "^4.2.0",
"google-fonts-plugin": "^5.0.2",
"graphql": "^15.5.3",
"graphql-compiler": "^1.7.0",
"husky": "^7.0.2",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.1.0",
"prettier": "^2.3.2",
"prettier-config-standard": "^4.0.0",
"relay-compiler": "^10.0.1",
"relay-compiler-language-typescript": "^13.0.1",
"relay-config": "^10.0.1"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*.d.ts"
],
"setupFilesAfterEnv": [
"<rootDir>/config/jest/setupTests.ts"
],
"testMatch": [
"<rootDir>/**/__tests__/**/*.{js,jsx,ts,tsx}",
"<rootDir>/**/*.{spec,test}.{js,jsx,ts,tsx}"
],
"moduleNameMapper": {
"\\.(css|less)$": "identity-obj-proxy"
},
"transform": {
"^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$",
"^.+\\.module\\.(css|sass|scss)$"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
}
}