-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
62 lines (62 loc) · 2.35 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
{
"name": "@sebastiansit/webcomponents",
"version": "2.0.0",
"description": "SebastiansIT WebComponents Collection",
"browser": "select-image/src/select-image.js",
"repository": {
"type": "git",
"url": "git+https://github.com/sebastiansIT/SITWebComponents.git"
},
"keywords": [
"web",
"webcomponent"
],
"author": {
"name": "Sebastian Spautz",
"email": "[email protected]",
"url": "http://human-injection.de/"
},
"license": "LGPL-3.0-or-later",
"bugs": {
"url": "https://github.com/sebastiansIT/SITWebComponents/issues"
},
"homepage": "https://sebastiansit.github.io/SITWebComponents/",
"files": [
"*/src"
],
"type": "commonjs",
"browserslist": [],
"devDependencies": {
"backstopjs": "^6.0.4",
"concurrently": "^7.0.0",
"eslint": "^8.9.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsdoc": "^40.0.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.0",
"http-server": "^14.1.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jsdoc": "^4.0.2",
"postcss-html": "^1.3.0",
"stylelint": "^15.2.0",
"stylelint-config-standard": "^31.0.0",
"terser": "^5.3.2"
},
"scripts": {
"backstop:reference": "npx backstop --config .backstoprc.cjs reference",
"lint:js": "eslint --output-file report/eslint.xml --format checkstyle **/src/*.js",
"lint:css": "stylelint --output-file report/stylelint.txt **/src/*.js",
"lint": "npm run lint:js && npm run lint:css",
"test:visual": "concurrently --success=first --kill-others \"npx http-server -p 3001 -c-1\" \"npx backstop --config .backstoprc.cjs test\"",
"test:unit": "jest",
"test": "npm run lint && npm run test:unit && npm run test:visual",
"report:visual": "npx backstop --config .backstoprc.cjs openReport",
"report": "npm run report:visual",
"minify": "terser select-image/src/select-image.js --compress --output select-image/dist/select-image.min.js --source-map \"url='select-image.min.js.map'\" --comments --timings --verbose",
"doc": "jsdoc -p -r -R ./select-image/README.md -d ./select-image/doc/api select-image/src/select-image.js",
"build": "node build/createdirectories.cjs && npm run doc && npm run minify",
"start": "npx http-server -p 3001 -o select-image/demo.html"
}
}