This repository has been archived by the owner on May 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
105 lines (105 loc) · 2.86 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
{
"name": "@advanced-rest-client/arc-marked",
"description": "Port of Polymer's marked-element to LitElement",
"version": "1.1.2",
"license": "Apache-2.0",
"main": "index.js",
"module": "index.js",
"keywords": [
"web-components",
"marked"
],
"author": {
"name": "Pawel Uchida-Psztyc",
"email": "pawel.psztyc@mulesoft.com"
},
"contributors": [
"Your name can be here!"
],
"repository": {
"type": "git",
"url": "git://github.com/advanced-rest-client/arc-marked.git"
},
"bugs": {
"url": "https://github.com/advanced-rest-client/arc-marked/issues",
"email": "arc@mulesoft.com"
},
"dependencies": {
"dompurify": "^2.2.9",
"lit-element": "^2.5.1",
"lit-html": "^1.4.1",
"marked": "^0.7.0"
},
"devDependencies": {
"@advanced-rest-client/arc-demo-helper": "^3.0.2",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@open-wc/eslint-config": "^4.3.0",
"@open-wc/testing": "^2.5.33",
"@types/dompurify": "^2.2.2",
"@web/dev-server": "^0.1.17",
"@web/test-runner": "^0.13.8",
"@web/test-runner-playwright": "^0.8.6",
"eslint": "^7.28.0",
"eslint-config-prettier": "^8.3.0",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"sinon": "^11.1.1",
"typescript": "^4.3.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"
},
"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"
}
},
{
"files": [
"**/*.js"
],
"rules": {
"no-plusplus": "off",
"no-continue": "off",
"class-methods-use-this": "off"
}
}
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix"
]
}
}