forked from yalesites-org/yalesites-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 3.66 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
{
"name": "yalesites-upstream",
"license": "MIT",
"scripts": {
"build": "./scripts/local/build.sh",
"build-with-install": "./scripts/local/build-with-install.sh",
"build-with-assets": "./scripts/local/build-with-assets.sh",
"confex": "./scripts/local/confex.sh",
"content-import": "./scripts/shared/content-import.sh",
"confim": "./scripts/local/confim.sh",
"db:get": "./scripts/local/db-get.sh",
"files:get": "./scripts/local/files-get.sh",
"husky:commit-msg": "commitlint --edit $1",
"husky:pre-commit": "lint-staged",
"lint": "npm run lint:js && npm run lint:php && npm run lint:styles",
"lint:js": "eslint --color --no-error-on-unmatched-pattern --format stylish {web/modules/custom,web/themes/custom,web/profiles/custom}/**/*.js",
"lint:php": "composer lint:php",
"lint:styles": "stylelint --color {web/modules/custom,web/themes/contrib/atomic,web/themes/custom,web/profiles/custom}/**/*.scss",
"fix:js": "eslint --fix {web/modules/custom,web/themes/custom,web/profiles/custom}/**/*.js",
"local:review-with-atomic-and-cl-branch": "./scripts/local/local-review-with-atomic-and-cl-branch.sh",
"local:review-with-atomic-branch": "./scripts/local/local-review-with-atomic-branch.sh",
"local:review-with-cl-branch": "./scripts/local/local-review-with-cl-branch.sh",
"local:cl-dev": "./scripts/local/local-cl-dev.sh",
"local:theme-link": "./scripts/local/local-theme-link.sh",
"local:git-checkout": "./scripts/local/local-git-checkout.sh",
"prettier": "prettier '{.github,docs,web/profiles/custom,web/modules/custom,web/themes/contrib/atomic,web/themes/custom}/**/*.{json,md,js,html,scss,html}' --ignore-unknown --list-different",
"setup": "./scripts/local/setup.sh",
"test": "./scripts/local/test.sh"
},
"devDependencies": {
"@saithodev/semantic-release-backmerge": "^4.0.1",
"@semantic-release/git": "^10.0.1",
"@yalesites-org/eslint-config-and-other-formatting": "^1.5.0",
"eslint-config-drupal": "^5.0.2",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-yml": "^0.14.0",
"semantic-release": "^23.0.0",
"semantic-release-replace-plugin": "^1.2.7",
"shelljs": "^0.8.5"
},
"lint-staged": {
"web/**/*.scss": [
"npm run lint:styles"
],
"web/**/*.js": [
"npm run lint:js"
],
"web/**/*.{js,scss,php}": [
"npm run prettier"
]
},
"release": {
"branches": [
"master"
],
"plugins": [
"@semantic-release/commit-analyzer",
[
"semantic-release-replace-plugin",
{
"replacements": [
{
"files": [
"web/profiles/custom/yalesites_profile/yalesites_profile.info.yml"
],
"from": "#?version:.*",
"to": "version: ${nextRelease.version}",
"results": [
{
"file": "web/profiles/custom/yalesites_profile/yalesites_profile.info.yml",
"hasChanged": true,
"numMatches": 1,
"numReplacements": 1
}
],
"countMatches": true
}
]
}
],
"@semantic-release/release-notes-generator",
[
"@semantic-release/git",
{
"assets": [
"web/profiles/custom/yalesites_profile/yalesites_profile.info.yml"
],
"message": "chore: bump yalesites_profile to ${nextRelease.version}"
}
],
[
"@saithodev/semantic-release-backmerge",
{
"backmergeBranches": ["develop"]
}
],
"@semantic-release/github"
]
}
}