forked from guardian/security-hq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
35 lines (35 loc) · 1.39 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
{
"name": "security-hq",
"version": "0.0.1",
"private": true,
"engines": {
"node": ">=14.0.0",
"yarn": ">=1.22.0"
},
"devDependencies": {
"eslint": "7.15.0",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-prettier": "3.1.4",
"materialize-css": "0.100.2",
"prettier": "2.2.0",
"stylelint": "13.8.0",
"stylelint-config-recommended": "3.0.0",
"snyk": "1.437.3"
},
"prettier": {
"singleQuote": true
},
"scripts": {
"lint:styles": "stylelint hq/public/stylesheets/*.css --config .stylelintrc.json",
"lint:js": "eslint --max-warnings 0 --format codeframe --ignore-pattern '**/*.min.js' hq/public/javascripts/",
"lint": "yarn lint:js && yarn lint:styles",
"linter-check": "eslint --print-config .eslintrc.js | eslint-config-prettier-check",
"prettier": "prettier --write './**/*.{js,css}'",
"not-master": "test \"$BRANCH_NAME\" != \"master\" && echo \"BRANCH_NAME variable is '$BRANCH_NAME', not master\" ",
"snyk-test": "PATH=$(pwd):$PATH snyk test --debug --org=guardian-security --json --file=build.sbt ",
"snyk-test-master": "npm run not-master --silent || npm run snyk-test --silent ",
"snyk-monitor": "PATH=$(pwd):$PATH snyk monitor --debug --org=guardian-security --file=build.sbt ",
"snyk-monitor-master": "npm run not-master --silent || npm run snyk-monitor --silent "
}
}