forked from SFDO-Tooling/MetaCI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
161 lines (161 loc) · 5.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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
{
"name": "metaci",
"version": "0.1.0",
"private": true,
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "https://github.com/SFDO-Tooling/MetaCI.git"
},
"dependencies": {
"@salesforce-ux/design-system": "^2.11.3",
"@salesforce/design-system-react": "^0.10.18",
"@sentry/browser": "^5.12.1",
"del": "^5.1.0",
"i18next": "^19.1.0",
"i18next-browser-languagedetector": "^4.0.1",
"i18next-xhr-backend": "^3.2.2",
"js-cookie": "^2.2.1",
"lodash": "^4.17.15",
"query-string": "^6.10.1",
"react": "^16.12.0",
"react-document-title": "^2.0.3",
"react-dom": "^16.12.0",
"react-i18next": "^11.3.1",
"react-redux": "^7.1.3",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"redux": "^4.0.4",
"redux-devtools-extension": "^2.13.8",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.3.0",
"reselect": "^4.0.0",
"run-p": "^0.0.0",
"sarcastic": "^1.5.0",
"whatwg-fetch": "^3.0.0"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/preset-react": "^7.8.3",
"@babel/preset-typescript": "^7.8.3",
"@testing-library/jest-dom": "^5.1.1",
"@testing-library/react": "^10.0.1",
"@types/js-cookie": "^2.2.4",
"@types/lodash": "^4.14.148",
"@types/react": "^16.9.19",
"@types/react-document-title": "^2.0.3",
"@types/react-dom": "^16.9.5",
"@types/react-redux": "^7.1.7",
"@types/react-router-dom": "^5.1.3",
"@types/redux-logger": "^3.0.7",
"@types/uuid": "^7.0.0",
"@typescript-eslint/eslint-plugin": "^2.19.0",
"@typescript-eslint/parser": "^2.19.0",
"autoprefixer": "^9.7.4",
"babel-core": "^7.0.0-0",
"babel-eslint": "^10.0.3",
"babel-jest": "^25.1.0",
"babel-loader": "^8.0.6",
"browser-sync": "^2.26.7",
"clean-webpack-plugin": "^3.0.0",
"core-js": "^3.6.4",
"coveralls": "^3.0.9",
"css-loader": "^3.4.2",
"eslint": "~6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-import-resolver-webpack": "^0.12.1",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.18.3",
"eslint-plugin-react-hooks": "^2.3.0",
"eslint-plugin-simple-import-sort": "^5.0.1",
"fetch-mock": "^9.1.1",
"file-loader": "^6.0.0",
"html-webpack-plugin": "^4.0.2",
"husky": "^4.2.1",
"i18next-scanner-webpack": "^0.4.4",
"jest": "^25.1.0",
"jest-junit": "^10.0.0",
"lint-staged": "^10.0.7",
"mini-css-extract-plugin": "^0.9.0",
"node-fetch": "^2.6.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.0.0",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"postcss-loader": "^3.0.0",
"prettier": "^2.0.2",
"redux-mock-store": "^1.5.4",
"run-sequence": "^2.2.1",
"sass": "^1.25.0",
"sass-loader": "^8.0.2",
"stylelint": "^13.1.0",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-scss": "^3.14.2",
"typescript": "^3.7.5",
"url-loader": "^4.0.0",
"webpack": "^4.41.2",
"webpack-bundle-analyzer": "^3.6.0",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.10.3",
"webpack-merge": "^4.2.2"
},
"engines": {
"node": "10.16.3",
"yarn": "1.22.4"
},
"scripts": {
"webpack:serve": "webpack-dev-server --config webpack.dev.js",
"django:serve": "python manage.py runserver 0.0.0.0:8000",
"redis:clear": "redis-cli FLUSHALL",
"rq:work": "python manage.py metaci_rqworker short",
"rq:scheduler": "python manage.py rqscheduler --queue short",
"serve": "run-p django:serve webpack:serve rq:work rq:scheduler",
"prettier": "prettier --write 'src/js/**/*.ts' 'src/sass/**/*.scss'",
"eslint": "eslint '*.js' src/js src/test --ext .js,.ts,.jsx,.tsx --fix",
"stylelint": "stylelint 'src/sass/**/*.scss'",
"flake8": "flake8 manage.py metaci/ config/",
"isort": "isort -rc manage.py metaci/ config/",
"black": "black manage.py metaci/ config/",
"lintpy": "run-s isort black flake8",
"lintjs": "run-s prettier eslint",
"lint": "npm-run-all -p lintpy lintjs -s stylelint tsc",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "JEST_JUNIT_OUTPUT_DIR='./coverage' jest --ci --runInBand --reporters=default --reporters=jest-junit",
"test:report-coverage": "cat ./coverage/lcov.info | coveralls",
"test:check-coverage": "nyc check-coverage --temp-directory coverage",
"tsc": "tsc",
"pytest": "pytest",
"pytest:report-coverage": "$VIRTUAL_ENV/bin/coveralls",
"pytest:check-coverage": "coverage3 report --fail-under=100",
"pytest:integration": "pytest -m 'integration'",
"build": "webpack --config webpack.dev.js",
"prod": "webpack --config webpack.prod.js",
"heroku-postbuild": "yarn prod"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"prepare-commit-msg": "./bin/prepare-commit-msg"
}
},
"lint-staged": {
"*.js": [
"prettier --write",
"eslint '*.js' src/js src/test --ext .js,.ts,.jsx,.tsx --fix"
],
"*.scss": [
"prettier --write",
"stylelint"
],
"*.py": [
"isort",
"black",
"flake8"
]
}
}