-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
63 lines (63 loc) · 2.17 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
{
"name": "@dwp/eslint-config-base",
"version": "1.0.0",
"author": "Adam Moss",
"license": "ISC",
"description": "base configuration for eslint",
"keywords": [
"config",
"shareable-config",
"eslint",
"lint"
],
"homepage": "https://github.com/dwp/eslint-config-base",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com:dwp/eslint-config-base.git"
},
"bugs": {
"url": "https://github.com/dwp/eslint-config-base/issues"
},
"files": [
"src/**",
".eslintrc.json"
],
"main": "src/index.js",
"scripts": {
"precommit": "lint-staged",
"commitmsg": "commitlint --edit",
"test": "npm run pipeline",
"pipeline": "npm run compliance-tests && npm run security-tests && npm run unit-tests && npm run quality-tests",
"compliance-tests": "npm run compliance:commitlint && npm run compliance:eslint",
"compliance:commitlint": "commitlint --from=develop --to=HEAD",
"compliance:eslint": "eslint --ignore-path .gitignore .",
"security-tests": "npm run security:outdated && npm run security:nsp",
"security:outdated": "npm outdated || true",
"security:nsp": "nsp check #",
"security:snyk": "snyk test -dev",
"unit-tests": "npm run unit:test",
"unit:test": "nyc --report-dir .coverage/unit jasmine JASMINE_CONFIG_PATH=tests/unit/support/jasmine.json",
"quality-tests": "npm run quality:sonarjs",
"quality:sonarjs": "sonarjs -e 'tests/**'",
"quality:sonar-scanner": "sonar-scanner"
},
"dependencies": {
"eslint-config-airbnb-base": "12.1.0",
"eslint-plugin-import": "2.8.0"
},
"devDependencies": {
"@commitlint/cli": "6.0.2",
"@dwp/commitlint-config-base": "1.0.0",
"@dwp/eslint-config-jasmine": "1.0.0",
"@dwp/nyc-config-base": "1.0.0",
"eslint": "4.15.0",
"husky": "0.14.3",
"jasmine": "2.8.0",
"jasmine-spec-reporter": "4.2.1",
"lint-staged": "6.0.0",
"nsp": "3.1.0",
"nyc": "11.4.1",
"snyk": "1.68.0",
"sonarjs": "1.0.0"
}
}