-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
64 lines (64 loc) · 2.46 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
{
"name": "@lalomartins/shoestring-theme-selector",
"version": "1.0.1",
"description": "A web component for toggling dark mode that uses Shoelace buttons for consistent UI",
"main": "index.js",
"module": "index.js",
"type": "module",
"scripts": {
"build": "echo \"This is not a TypeScript project, so no need to build.\"",
"lint": "npm run lint:lit-analyzer && npm run lint:eslint",
"lint:eslint": "eslint '**/*.js'",
"lint:lit-analyzer": "lit-analyzer shoestring-theme-selector.js",
"format": "prettier \"**/*.{cjs,html,js,json,md,ts}\" --ignore-path ./.eslintignore --write",
"docs": "npm run docs:clean && npm run analyze && npm run docs:build && npm run docs:assets && npm run docs:gen",
"docs:clean": "rimraf docs",
"docs:gen": "eleventy --config=.eleventy.cjs",
"docs:gen:watch": "eleventy --config=.eleventy.cjs --watch",
"docs:build": "rollup -c --file docs/shoestring-theme-selector.bundled.js",
"docs:assets": "cp node_modules/prismjs/themes/prism-okaidia.css docs/",
"docs:serve": "wds --root-dir=docs --node-resolve --watch",
"analyze": "cem analyze --litelement --globs \"**/*.js\" --exclude docs",
"analyze:watch": "cem analyze --litelement --globs \"**/*.js\" --exclude docs --watch",
"serve": "wds --watch",
"serve:prod": "MODE=prod npm run serve",
"checksize": "rollup -c ; cat shoestring-theme-selector.bundled.js | gzip -9 | wc -c ; rm shoestring-theme-selector.bundled.js"
},
"keywords": [
"web-components",
"lit-element",
"javascript",
"lit",
"dark-mode",
"shoelace"
],
"author": "Lalo Martins",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/lalomartins/shoestring-theme-selector"
},
"dependencies": {
"@shoelace-style/shoelace": "^2.12.0",
"lit": "^3.0.0"
},
"devDependencies": {
"@11ty/eleventy": "^1.0.1",
"@11ty/eleventy-plugin-syntaxhighlight": "^4.0.0",
"@babel/eslint-parser": "^7.17.0",
"@custom-elements-manifest/analyzer": "^0.6.3",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-replace": "^5.0.2",
"@web/dev-server": "^0.1.31",
"@web/dev-server-legacy": "^1.0.0",
"@webcomponents/webcomponentsjs": "^2.8.0",
"eslint": "^8.15.0",
"lit-analyzer": "^1.2.1",
"prettier": "^2.6.2",
"rimraf": "^3.0.2",
"rollup": "^2.73.0",
"rollup-plugin-summary": "^1.4.3",
"rollup-plugin-terser": "^7.0.2"
},
"customElements": "custom-elements.json"
}