-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
94 lines (94 loc) · 2.73 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
{
"name": "@api-components/api-example-generator",
"description": "Examples generator from AMF model",
"version": "4.4.31",
"license": "Apache-2.0",
"main": "index.js",
"module": "index.js",
"keywords": [
"api-components",
"examples",
"generator"
],
"author": {
"name": "Pawel Uchida-Psztyc",
"email": "[email protected]"
},
"contributors": [
"The Advanced REST client authors <[email protected]>"
],
"repository": {
"type": "git",
"url": "git://github.com/advanced-rest-client/api-example-generator.git"
},
"bugs": {
"url": "https://github.com/advanced-rest-client/api-example-generator/issues",
"email": "[email protected]"
},
"dependencies": {
"@api-components/amf-helper-mixin": "^4.5.24",
"lit-element": "^2.4.0"
},
"devDependencies": {
"@advanced-rest-client/arc-demo-helper": "^3.0.2",
"@anypoint-web-components/anypoint-checkbox": "^1.0.2",
"@api-components/api-model-generator": "^0.2.14",
"@open-wc/eslint-config": "^4.0.1",
"@open-wc/testing": "^2.5.32",
"@web/dev-server": "^0.1.8",
"@web/test-runner": "^0.13.15",
"@web/test-runner-playwright": "^0.11.0",
"eslint": "^7.31.0",
"eslint-config-prettier": "^8.1.0",
"husky": "^7.0.1",
"lint-staged": "^11.1.1",
"sinon": "^11.1.1",
"typescript": "^4.2.2",
"typescript-lit-html-plugin": "^0.9.0"
},
"scripts": {
"start": "web-dev-server --app-index demo/index.html --node-resolve --open --watch --root-dir .",
"lint:eslint": "eslint --ext .js,.html . --ignore-path .gitignore",
"format:eslint": "eslint --ext .js,.html . --fix --ignore-path .gitignore",
"lint:types": "tsc",
"lint": "npm run lint:eslint",
"format": "npm run format:eslint",
"test": "web-test-runner test/**/*.test.js --coverage --node-resolve --playwright --browsers chromium firefox webkit",
"test:watch": "web-test-runner test/**/*.test.js --node-resolve --watch --playwright --browsers chromium",
"gen:wc": "wca analyze \"*.js\" --outFile custom-elements.json",
"prepare": "node demo/model.js"
},
"eslintConfig": {
"extends": [
"@open-wc/eslint-config",
"eslint-config-prettier"
],
"overrides": [
{
"files": [
"demo/**/*.js",
"test/**/*.js",
"**/demo/**/*.html"
],
"rules": {
"no-console": "off",
"no-unused-expressions": "off",
"no-plusplus": "off",
"no-param-reassing": "off",
"class-methods-use-this": "off",
"import/no-extraneous-dependencies": "off"
}
}
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix"
]
}
}