-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
67 lines (67 loc) · 2.06 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
{
"name": "web-component-base-class",
"version": "v1.1.2",
"description": "Base class to simplify the creation of web components",
"type": "module",
"keywords": [
"webComponents",
"ShadowDOM",
"customElements"
],
"homepage": "https://github.com/virtualcodewarrior/webComponentBaseClass",
"bugs": {
"url": "https://github.com/virtualcodewarrior/webComponentBaseClass/issues"
},
"license": "MIT",
"author": {
"name": "Rodney Draaisma"
},
"scripts": {
"server": "node ./node_modules/http-server/bin/http-server -c-1 -p 2211",
"start": "npm run server",
"build": "node build.js",
"doc": "node ./node_modules/jsdoc/jsdoc.js src -r -d doc",
"lint": "node ./node_modules/eslint/bin/eslint.js --color -c .eslintrc.cjs \"src/**/*.js\" \"test/**/*.js\"",
"unittest": "node ./node_modules/karma/bin/karma start karma.conf.cjs --single-run",
"unittest-headless": "node ./node_modules/karma/bin/karma start karma.conf.cjs --single-run --browsers FirefoxHeadless,ChromiumHeadless",
"watch-test": "node ./node_modules/karma/bin/karma start karma.conf.cjs --watch",
"coverage": "node ./node_modules/karma/bin/karma start karma.conf.cjs coverage --single-run",
"test": "npm run lint && npm run unittest",
"test-headless": "npm run lint && npm run unittest-headless",
"prepare": "npm run build && husky install",
"pre-commit": "lint-staged"
},
"files": [
"src",
"dist",
"examples"
],
"lint-staged": {
"*.{js,cjs,mjs}": [
"eslint -c ./.eslintrc.cjs"
]
},
"repository": {
"type": "git",
"url": "https://github.com/virtualcodewarrior/webComponentBaseClass.git"
},
"devDependencies": {
"eslint": "8.36.0",
"eslint-plugin-jasmine": "4.1.3",
"fs-extra": "11.1.1",
"http-server": "14.1.1",
"husky": "8.0.3",
"jasmine": "4.6.0",
"jsdoc": "4.0.2",
"karma": "6.4.1",
"karma-chrome-launcher": "3.1.1",
"karma-coverage": "2.2.0",
"karma-firefox-launcher": "2.1.2",
"karma-jasmine": "5.1.0",
"karma-jasmine-html-reporter": "2.0.0",
"karma-spec-reporter": "0.0.36",
"lint-staged": "13.2.0",
"terser": "5.16.8"
},
"dependencies": {}
}