-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
91 lines (91 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
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
{
"devDependencies": {
"rollup": "^3.8.1",
"@rollup/plugin-run": "^3.0.1",
"@rollup/plugin-strip": "^3.0.2",
"@rollup/plugin-terser": "^0.2.1",
"@rollup/plugin-replace": "^5.0.2",
"babel-plugin-rewire-test-env-only": "^1.0.0",
"clean-css": "^5.3.1",
"eslint": "^8.30.0",
"html-minifier": "^4.0.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"jest-image-snapshot": "^6.1.0",
"jest-html-reporter": "^3.7.0",
"jest-puppeteer": "^6.2.0",
"jest-junit": "^15.0.0",
"puppeteer-core": "^19.4.1"
},
"scripts": {
"test": "jest --env=node --colors test",
"test-changed": "jest --env=node --colors --only-changed test",
"test-continuous": "jest --env=node --colors --watch-all test",
"test-with-coverage": "jest --env=node --colors --coverage test",
"lint": "eslint --color dist/theme-switch.js",
"lint-html": "eslint --format html --output-file lint.html dist/theme-switch.js",
"create-distribution": "./node_modules/.bin/rollup -c rollup.config.mjs",
"prepublishOnly": "npm test"
},
"babel": {
"plugins": [
"rewire-test-env-only"
]
},
"jest": {
"verbose": true,
"reporters": [
"default",
[
"jest-junit",
{
"outputName": "test-report.xml"
}
],
[
"jest-html-reporter",
{
"pageTitle": "Test Report"
}
]
],
"preset": "jest-puppeteer",
"testEnvironmentOptions": {
"url": "http://localhost/"
}
},
"name": "@mahozad/theme-switch",
"version": "1.5.2",
"description": "Animated toggle button to switch between light/dark/system theme.",
"main": "dist/theme-switch.js",
"files": [
"dist/"
],
"unpkg": "dist/theme-switch.min.js",
"jsdelivr": "dist/theme-switch.min.js",
"keywords": [
"dark",
"dark-mode",
"dark-theme",
"theme-toggle",
"theme-toggler",
"theme-switch",
"theme-switcher",
"custom-element",
"web-component"
],
"homepage": "https://mahozad.ir/theme-switch/",
"repository": {
"type": "git",
"url": "https://github.com/mahozad/theme-switch.git"
},
"bugs": {
"url": "https://github.com/mahozad/theme-switch/issues"
},
"author": {
"name": "Mahdi Hosseinzadeh",
"email": "[email protected]",
"url": "https://mahozad.ir"
},
"license": "Apache-2.0"
}