This repository has been archived by the owner on Jul 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
125 lines (125 loc) · 3.77 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
{
"name": "widget-creator",
"version": "1.0.0",
"description": "Web application for uportal-app-framework widget creator.",
"main": "index.js",
"scripts": {
"build:pre": "mvn clean package",
"build:test":
"karma start target/widget-creator/karma.conf.js --single-run",
"build:lint-js":
"eslint --ext js --ext json --ext md . --ignore-path .gitignore",
"build": "npm run build:pre && npm run build:test && npm run build:lint-js",
"commit": "commit",
"format": "prettier-eslint --write \"**/*.{js,json,css,scss}\"",
"test": "npm run build:pre && npm run build:test",
"lint-js": "npm run build:pre && npm run build:lint-js",
"lint-md": "remark . --frail",
"lint-commit": "commitlint --from HEAD~1",
"lint-commit-ci": "commitlint-travis",
"dev": "npm run build:pre && mvn jetty:run",
"precommit": "lint-staged"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/UW-Madison-DoIT/widget-creator.git"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/UW-Madison-DoIT/widget-creator/issues"
},
"homepage": "https://github.com/UW-Madison-DoIT/widget-creator#readme",
"devDependencies": {
"@commitlint/cli": "^6.0.2",
"@commitlint/config-conventional": "^6.0.2",
"@commitlint/prompt-cli": "^6.0.2",
"@commitlint/travis-cli": "^6.0.2",
"eslint-config-angular": "^0.5.0",
"eslint-config-google": "^0.9.1",
"eslint-plugin-angular": "^3.1.1",
"eslint-plugin-compat": "^2.0.1",
"eslint-plugin-jasmine": "^2.9.1",
"eslint-plugin-json": "^1.2.0",
"eslint-plugin-markdown": "^1.0.0-beta.7",
"eslint-plugin-promise": "^3.6.0",
"husky": "^0.14.3",
"jasmine-core": "^2.8.0",
"karma": "^2.0.0",
"karma-chrome-launcher": "^2.2.0",
"karma-coverage": "^1.1.1",
"karma-coveralls": "^1.1.2",
"karma-html-reporter": "^0.2.7",
"karma-htmlfile-reporter": "^0.3.5",
"karma-jasmine": "^1.1.1",
"karma-jasmine-html-reporter": "^0.2.2",
"karma-read-json": "^1.1.0",
"karma-requirejs": "^1.1.0",
"lint-staged": "^6.0.0",
"prettier-eslint-cli": "^4.7.0",
"puppeteer": "^1.0.0",
"remark-cli": "^5.0.0",
"remark-preset-lint-consistent": "^2.0.1",
"remark-preset-lint-recommended": "^3.0.1",
"remark-validate-links": "^7.0.0",
"requirejs": "^2.3.5"
},
"eslintConfig": {
"root": true,
"parserOptions": {
"ecmaVersion": 5
},
"env": {
"browser": true,
"jasmine": true,
"amd": true
},
"plugins": ["angular", "compat", "jasmine", "json", "markdown", "promise"],
"extends": [
"eslint:recommended",
"google",
"angular",
"plugin:jasmine/recommended",
"plugin:promise/recommended"
],
"rules": {
"angular/di": ["warn", "array"],
"angular/controller-as": "off",
"compat/compat": "error",
"arrow-parens": "off",
"constructor-super": "off",
"generator-star-spacing": "off",
"no-new-symbol": "off",
"no-this-before-super": "off",
"no-invalid-this": "off",
"no-var": "off",
"prefer-rest-params": "off",
"prefer-spread": "off",
"valid-jsdoc": "warn",
"rest-spread-spacing": "off",
"yield-star-spacing": "off",
"multiline-comment-style": "error"
}
},
"lint-staged": {
"*.{js,json,scss,css}": ["prettier-eslint --write", "git add"]
},
"prettier": {
"singleQuote": true,
"bracketSpacing": false,
"trailingComma": "es5"
},
"commitlint": {
"extends": ["@commitlint/config-conventional"]
},
"remarkConfig": {
"settings": {
"ignoreName": ".gitignore"
},
"plugins": [
"preset-lint-recommended",
"preset-lint-consistent",
"validate-links",
["remark-lint-list-item-indent", "mixed"]
]
}
}