forked from cnorthwood/virtualbarcamp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
106 lines (106 loc) · 3.28 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
{
"private": true,
"dependencies": {
"@apollo/client": "^3.0.2",
"bulma": "^0.9.0",
"date-fns": "^2.14.0",
"graphql": "^15.3.0",
"react": "^17.0.1",
"react-beautiful-dnd": "^13.0.0",
"react-dom": "^17.0.1",
"react-router-dom": "^5.1.2",
"subscriptions-transport-ws": "^0.9.16"
},
"devDependencies": {
"@types/jest": "^26.0.0",
"@types/node": "^14.14.16",
"@types/react": "^17.0.0",
"@types/react-beautiful-dnd": "^13.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-router-dom": "^5.1.3",
"@types/webpack-env": "^1.15.2",
"@typescript-eslint/eslint-plugin": "^4.1.1",
"@typescript-eslint/parser": "^4.1.1",
"apollo": "^2.28.0",
"babel-eslint": "^10.1.0",
"concurrently": "^5.1.0",
"css-loader": "^5.0.1",
"eslint": "^7.2.0",
"eslint-config-prettier": "^7.1.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-flowtype": "^5.1.3",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^4.0.4",
"eslint-watch": "^7.0.0",
"file-loader": "^6.0.0",
"fork-ts-checker-webpack-plugin": "^6.0.8",
"jest": "^26.0.1",
"mini-css-extract-plugin": "^1.3.3",
"node-sass": "^5.0.0",
"prettier": "^2.0.1",
"sass-loader": "^10.0.1",
"style-loader": "^2.0.0",
"ts-jest": "^26.1.0",
"ts-loader": "^8.0.1",
"typescript": "^4.0.2",
"webpack": "^4.42.1",
"webpack-bundle-tracker": "^1.0.0-alpha.1",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3",
"webpack-subresource-integrity": "^1.4.0"
},
"scripts": {
"build": "NODE_ENV=production webpack",
"dev": "concurrently yarn:dev:*",
"dev:server": "NODE_ENV=development webpack-dev-server --host 0.0.0.0",
"dev:test": "jest --watch",
"dev:eslint": "esw virtualbarcamp --ext .js,.ts,.jsx,.tsx -w",
"test": "concurrently yarn:test:*",
"test:jest": "jest",
"test:eslint": "eslint virtualbarcamp --ext .js,.ts,.jsx,.tsx",
"update-graphql-types": "docker exec virtualbarcamp_app_1 poetry run ./manage.py graphql_schema && yarn apollo client:codegen --localSchemaFile=schema.json --target=typescript --includes './virtualbarcamp/browser/**/*' --outputFlat virtualbarcamp/browser/graphql --customScalarsPrefix Graphql --passthroughCustomScalars"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json",
"ecmaVersion": 2018,
"sourceType": "module"
},
"extends": [
"react-app",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"rules": {
"@typescript-eslint/ban-ts-ignore": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-empty-interface": "off"
},
"env": {
"browser": true,
"jasmine": true,
"jest": true
},
"ignorePatterns": [
"build/**/*"
]
},
"prettier": {
"trailingComma": "all",
"printWidth": 100
},
"jest": {
"roots": [
"virtualbarcamp"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
}
}
}