-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 2.29 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
{
"name": "mna-cerfa",
"description": "[MNA] Générateur de Cerfa publique",
"repository": "https://github.com/mission-apprentissage/cerfa.git",
"version": "2.13.0-beta.15",
"author": "MNA",
"license": "MIT",
"private": true,
"dependencies": {
"global": "4.4.0"
},
"scripts": {
"docker:start": "docker-compose up -d --build --force-recreate",
"docker:start-ci": "docker-compose up -d mongodb",
"docker:stop": "docker-compose stop",
"docker:down": "docker-compose down",
"docker:clean": "docker-compose kill && docker system prune --force --volumes",
"lint": "eslint --cache ./server --ext .js,.jsx && yarn --cwd ui lint",
"lint:staged": "lint-staged",
"prettier:fix": "prettier --write ./ui ./server",
"prettier:check": "prettier --check ./ui ./server",
"npm:release": "semantic-release",
"npm:release:local": "CI=true LOCAL_RELEASE=true semantic-release"
},
"devDependencies": {
"@commitlint/cli": "16.2.4",
"@commitlint/config-conventional": "16.2.4",
"@semantic-release/changelog": "6.0.1",
"@semantic-release/exec": "6.0.3",
"@semantic-release/git": "10.0.1",
"eslint": "8.3.0",
"eslint-config-prettier": "8.3.0",
"eslint-config-react-app": "6.0.0",
"eslint-plugin-flowtype": "8.0.3",
"eslint-plugin-import": "2.25.3",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.27.1",
"eslint-plugin-react-hooks": "4.3.0",
"husky": "4.3.8",
"lint-staged": "11.2.6",
"prettier": "2.5.0",
"semantic-release": "19.0.2",
"semantic-release-slack-bot": "3.5.2",
"typescript": "4.5.2"
},
"prettier": {
"printWidth": 120,
"bracketSpacing": true,
"trailingComma": "es5"
},
"husky": {
"hooks": {
"pre-commit": "./scripts/preventSensibleFilesCommit.sh && lint-staged",
"commit-msg": "[[ -n $HUSKY_BYPASS ]] || commitlint --config ./config/commitlint.config.js -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"./server/*.{js,jsx}": [
"eslint --cache --fix ./server/src ./server/tests"
],
"./ui/*.{jsx}": [
"yarn --cwd ui lint"
],
"*.{js,jsx}": [
"prettier --write ./ui ./server"
],
"*.{md,json,html}": "prettier --write ./ui ./server"
}
}