|
1 | 1 | {
|
2 |
| - "name": "gcr-website-react", |
3 |
| - "version": "0.1.0", |
4 |
| - "homepage": "https://resistancecn.github.io", |
5 |
| - "author": "ADA", |
6 |
| - "contributors": [ |
7 |
| - |
8 |
| - |
| 2 | + "name": "gcr-website-react", |
| 3 | + "version": "0.1.0", |
| 4 | + "homepage": "https://resistancecn.github.io", |
| 5 | + "author": "ADA", |
| 6 | + "contributors": [ |
| 7 | + |
| 8 | + |
| 9 | + ], |
| 10 | + "repository": "ResistanceCN/website-react", |
| 11 | + "license": "AGPL-3.0", |
| 12 | + "bugs": { |
| 13 | + "url": "https://github.com/ResistanceCN/website-react/issues" |
| 14 | + }, |
| 15 | + "scripts": { |
| 16 | + "start": "node scripts/start.js", |
| 17 | + "build": "node scripts/build.js", |
| 18 | + "test": "node scripts/test.js --env=jsdom" |
| 19 | + }, |
| 20 | + "dependencies": { |
| 21 | + "antd": "^3.4.1", |
| 22 | + "apollo-cache-inmemory": "^1.1.5", |
| 23 | + "apollo-client": "^2.2.0", |
| 24 | + "apollo-link-context": "^1.0.3", |
| 25 | + "apollo-link-http": "^1.3.2", |
| 26 | + "asciimath-to-latex": "^0.3.2", |
| 27 | + "autoprefixer": "7.1.2", |
| 28 | + "case-sensitive-paths-webpack-plugin": "2.1.1", |
| 29 | + "chalk": "1.1.3", |
| 30 | + "css-loader": "0.28.4", |
| 31 | + "dotenv": "4.0.0", |
| 32 | + "extract-text-webpack-plugin": "3.0.0", |
| 33 | + "file-loader": "0.11.2", |
| 34 | + "fs-extra": "3.0.1", |
| 35 | + "github-markdown-css": "^2.9.0", |
| 36 | + "graphql": "^0.12.3", |
| 37 | + "graphql-tag": "^2.6.1", |
| 38 | + "highlight.js": "^9.12.0", |
| 39 | + "html-webpack-plugin": "2.29.0", |
| 40 | + "jest": "20.0.4", |
| 41 | + "katex": "^0.10.0-beta", |
| 42 | + "lodash": "^4.17.4", |
| 43 | + "markdown-it": "^8.4.0", |
| 44 | + "markdown-it-task-lists": "^2.1.0", |
| 45 | + "node-sass": "^4.6.0", |
| 46 | + "object-assign": "4.1.1", |
| 47 | + "postcss-flexbugs-fixes": "3.2.0", |
| 48 | + "postcss-loader": "2.0.6", |
| 49 | + "promise": "8.0.1", |
| 50 | + "react": "^16.0.0", |
| 51 | + "react-ace": "^5.8.0", |
| 52 | + "react-dev-utils": "^4.0.1", |
| 53 | + "react-dom": "^16.0.0", |
| 54 | + "react-measure": "^2.0.2", |
| 55 | + "react-redux": "^5.0.6", |
| 56 | + "react-router-dom": "^4.2.2", |
| 57 | + "redux": "^3.7.2", |
| 58 | + "sanitize-html": "^1.16.1", |
| 59 | + "sass-loader": "^6.0.6", |
| 60 | + "source-map-loader": "^0.2.1", |
| 61 | + "style-loader": "0.18.2", |
| 62 | + "sw-precache-webpack-plugin": "0.11.4", |
| 63 | + "ts-jest": "^20.0.7", |
| 64 | + "ts-loader": "^2.3.7", |
| 65 | + "tsconfig-paths-webpack-plugin": "^3.2.0", |
| 66 | + "tslint": "^5.7.0", |
| 67 | + "tslint-loader": "^3.5.3", |
| 68 | + "tslint-react": "^3.2.0", |
| 69 | + "typescript": "^3.0", |
| 70 | + "url-loader": "0.5.9", |
| 71 | + "webpack": "3.5.1", |
| 72 | + "webpack-dev-server": "2.7.1", |
| 73 | + "webpack-manifest-plugin": "1.2.1", |
| 74 | + "whatwg-fetch": "2.0.3", |
| 75 | + "worker-loader": "^2.0.0" |
| 76 | + }, |
| 77 | + "devDependencies": { |
| 78 | + "@types/ace": "^0.0.36", |
| 79 | + "@types/gapi.auth2": "^0.0.45", |
| 80 | + "@types/googlemaps": "^3.30.0", |
| 81 | + "@types/graphql": "^14.0.0", |
| 82 | + "@types/highlight.js": "^9.12.2", |
| 83 | + "@types/jest": "^21.1.5", |
| 84 | + "@types/katex": "^0.5.0", |
| 85 | + "@types/lodash": "^4.14.88", |
| 86 | + "@types/markdown-it": "^0.0.4", |
| 87 | + "@types/node": "^8.0.50", |
| 88 | + "@types/react": "^16.0.22", |
| 89 | + "@types/react-dom": "^16.0.3", |
| 90 | + "@types/react-measure": "^2.0.2", |
| 91 | + "@types/react-redux": "^5.0.13", |
| 92 | + "@types/react-router": "^4.0.17", |
| 93 | + "@types/react-router-dom": "^4.2.1", |
| 94 | + "@types/sanitize-html": "^1.14.0" |
| 95 | + }, |
| 96 | + "peerDependencies": { |
| 97 | + "@types/graphql": "^14.0.0", |
| 98 | + "@types/react": "^16.0.22", |
| 99 | + "@types/react-dom": "^16.0.3", |
| 100 | + "@types/react-redux": "^5.0.13", |
| 101 | + "@types/react-router": "^4.0.17", |
| 102 | + "@types/react-router-dom": "^4.2.1" |
| 103 | + }, |
| 104 | + "jest": { |
| 105 | + "mapCoverage": true, |
| 106 | + "collectCoverageFrom": [ |
| 107 | + "src/**/*.{js,jsx,ts,tsx}" |
9 | 108 | ],
|
10 |
| - "repository": "ResistanceCN/website-react", |
11 |
| - "license": "AGPL-3.0", |
12 |
| - "bugs": { |
13 |
| - "url": "https://github.com/ResistanceCN/website-react/issues" |
14 |
| - }, |
15 |
| - "dependencies": { |
16 |
| - "antd": "^3.4.1", |
17 |
| - "apollo-cache-inmemory": "^1.1.5", |
18 |
| - "apollo-client": "^2.2.0", |
19 |
| - "apollo-link-context": "^1.0.3", |
20 |
| - "apollo-link-http": "^1.3.2", |
21 |
| - "asciimath-to-latex": "^0.3.2", |
22 |
| - "autoprefixer": "7.1.2", |
23 |
| - "case-sensitive-paths-webpack-plugin": "2.1.1", |
24 |
| - "chalk": "1.1.3", |
25 |
| - "css-loader": "0.28.4", |
26 |
| - "dotenv": "4.0.0", |
27 |
| - "extract-text-webpack-plugin": "3.0.0", |
28 |
| - "file-loader": "0.11.2", |
29 |
| - "fs-extra": "3.0.1", |
30 |
| - "github-markdown-css": "^2.9.0", |
31 |
| - "graphql": "^0.12.3", |
32 |
| - "graphql-tag": "^2.6.1", |
33 |
| - "highlight.js": "^9.12.0", |
34 |
| - "html-webpack-plugin": "2.29.0", |
35 |
| - "jest": "20.0.4", |
36 |
| - "katex": "^0.10.0-beta", |
37 |
| - "lodash": "^4.17.4", |
38 |
| - "markdown-it": "^8.4.0", |
39 |
| - "markdown-it-task-lists": "^2.1.0", |
40 |
| - "node-sass": "^4.6.0", |
41 |
| - "object-assign": "4.1.1", |
42 |
| - "postcss-flexbugs-fixes": "3.2.0", |
43 |
| - "postcss-loader": "2.0.6", |
44 |
| - "promise": "8.0.1", |
45 |
| - "react": "^16.0.0", |
46 |
| - "react-ace": "^5.8.0", |
47 |
| - "react-dev-utils": "^4.0.1", |
48 |
| - "react-dom": "^16.0.0", |
49 |
| - "react-measure": "^2.0.2", |
50 |
| - "react-redux": "^5.0.6", |
51 |
| - "react-router-dom": "^4.2.2", |
52 |
| - "redux": "^3.7.2", |
53 |
| - "sanitize-html": "^1.16.1", |
54 |
| - "sass-loader": "^6.0.6", |
55 |
| - "source-map-loader": "^0.2.1", |
56 |
| - "style-loader": "0.18.2", |
57 |
| - "sw-precache-webpack-plugin": "0.11.4", |
58 |
| - "ts-jest": "^20.0.7", |
59 |
| - "ts-loader": "^2.3.7", |
60 |
| - "tsconfig-paths-webpack-plugin": "^3.2.0", |
61 |
| - "tslint": "^5.7.0", |
62 |
| - "tslint-loader": "^3.5.3", |
63 |
| - "tslint-react": "^3.2.0", |
64 |
| - "typescript": "^3.0", |
65 |
| - "url-loader": "0.5.9", |
66 |
| - "webpack": "3.5.1", |
67 |
| - "webpack-dev-server": "2.7.1", |
68 |
| - "webpack-manifest-plugin": "1.2.1", |
69 |
| - "whatwg-fetch": "2.0.3", |
70 |
| - "worker-loader": "^2.0.0" |
71 |
| - }, |
72 |
| - "scripts": { |
73 |
| - "start": "node scripts/start.js", |
74 |
| - "build": "node scripts/build.js", |
75 |
| - "test": "node scripts/test.js --env=jsdom" |
76 |
| - }, |
77 |
| - "devDependencies": { |
78 |
| - "@types/ace": "^0.0.36", |
79 |
| - "@types/gapi.auth2": "^0.0.45", |
80 |
| - "@types/googlemaps": "^3.30.0", |
81 |
| - "@types/graphql": "^0.11", |
82 |
| - "@types/highlight.js": "^9.12.2", |
83 |
| - "@types/jest": "^21.1.5", |
84 |
| - "@types/katex": "^0.5.0", |
85 |
| - "@types/lodash": "^4.14.88", |
86 |
| - "@types/markdown-it": "^0.0.4", |
87 |
| - "@types/node": "^8.0.50", |
88 |
| - "@types/react": "^16.0.22", |
89 |
| - "@types/react-dom": "^16.0.3", |
90 |
| - "@types/react-measure": "^2.0.2", |
91 |
| - "@types/react-redux": "^5.0.13", |
92 |
| - "@types/react-router": "^4.0.17", |
93 |
| - "@types/react-router-dom": "^4.2.1", |
94 |
| - "@types/sanitize-html": "^1.14.0" |
95 |
| - }, |
96 |
| - "peerDependencies": { |
97 |
| - "@types/react": "^16.0.22", |
98 |
| - "@types/react-dom": "^16.0.3", |
99 |
| - "@types/react-redux": "^5.0.13", |
100 |
| - "@types/react-router": "^4.0.17", |
101 |
| - "@types/react-router-dom": "^4.2.1" |
102 |
| - }, |
103 |
| - "jest": { |
104 |
| - "mapCoverage": true, |
105 |
| - "collectCoverageFrom": [ |
106 |
| - "src/**/*.{js,jsx,ts,tsx}" |
107 |
| - ], |
108 |
| - "setupFiles": [ |
109 |
| - "<rootDir>/config/polyfills.js" |
110 |
| - ], |
111 |
| - "testMatch": [ |
112 |
| - "<rootDir>/src/**/__tests__/**/*.ts?(x)", |
113 |
| - "<rootDir>/src/**/?(*.)(spec|test).ts?(x)" |
114 |
| - ], |
115 |
| - "testEnvironment": "node", |
116 |
| - "testURL": "http://localhost", |
117 |
| - "transform": { |
118 |
| - "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js", |
119 |
| - "^.+\\.tsx?$": "<rootDir>/config/jest/typescriptTransform.js", |
120 |
| - "^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js" |
121 |
| - }, |
122 |
| - "transformIgnorePatterns": [ |
123 |
| - "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$" |
124 |
| - ], |
125 |
| - "moduleNameMapper": { |
126 |
| - "^react-native$": "react-native-web" |
127 |
| - }, |
128 |
| - "moduleFileExtensions": [ |
129 |
| - "web.ts", |
130 |
| - "ts", |
131 |
| - "web.tsx", |
132 |
| - "tsx", |
133 |
| - "web.js", |
134 |
| - "js", |
135 |
| - "web.jsx", |
136 |
| - "jsx", |
137 |
| - "json", |
138 |
| - "node" |
139 |
| - ], |
140 |
| - "globals": { |
141 |
| - "ts-jest": { |
142 |
| - "tsConfigFile": "/Users/balthild/Projects/FrontEnd/canton-res-react/tsconfig.test.json" |
143 |
| - } |
144 |
| - } |
| 109 | + "setupFiles": [ |
| 110 | + "<rootDir>/config/polyfills.js" |
| 111 | + ], |
| 112 | + "testMatch": [ |
| 113 | + "<rootDir>/src/**/__tests__/**/*.ts?(x)", |
| 114 | + "<rootDir>/src/**/?(*.)(spec|test).ts?(x)" |
| 115 | + ], |
| 116 | + "testEnvironment": "node", |
| 117 | + "testURL": "http://localhost", |
| 118 | + "transform": { |
| 119 | + "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js", |
| 120 | + "^.+\\.tsx?$": "<rootDir>/config/jest/typescriptTransform.js", |
| 121 | + "^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js" |
145 | 122 | },
|
146 |
| - "babel": { |
147 |
| - "presets": [ |
148 |
| - "react-app" |
149 |
| - ] |
| 123 | + "transformIgnorePatterns": [ |
| 124 | + "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$" |
| 125 | + ], |
| 126 | + "moduleNameMapper": { |
| 127 | + "^react-native$": "react-native-web" |
150 | 128 | },
|
151 |
| - "eslintConfig": { |
152 |
| - "extends": "react-app" |
| 129 | + "moduleFileExtensions": [ |
| 130 | + "web.ts", |
| 131 | + "ts", |
| 132 | + "web.tsx", |
| 133 | + "tsx", |
| 134 | + "web.js", |
| 135 | + "js", |
| 136 | + "web.jsx", |
| 137 | + "jsx", |
| 138 | + "json", |
| 139 | + "node" |
| 140 | + ], |
| 141 | + "globals": { |
| 142 | + "ts-jest": { |
| 143 | + "tsConfigFile": "/Users/balthild/Projects/FrontEnd/canton-res-react/tsconfig.test.json" |
| 144 | + } |
153 | 145 | }
|
| 146 | + }, |
| 147 | + "babel": { |
| 148 | + "presets": [ |
| 149 | + "react-app" |
| 150 | + ] |
| 151 | + }, |
| 152 | + "eslintConfig": { |
| 153 | + "extends": "react-app" |
| 154 | + } |
154 | 155 | }
|
0 commit comments