-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
57 lines (57 loc) · 1.93 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
{
"name": "lit-weather",
"version": "1.0.1",
"description": "Lit powered weather forecast web component, leveraging the OpenWeatherMap API. It's customizable with tailwindcss, lightweight, and shadow dom free.",
"main": "dist/lit-weather.js",
"module": "dist/lit-weather.js",
"types": "dist/lit-weather.d.ts",
"type": "module",
"author": "ryanburns23",
"license": "MIT",
"customElements": "./custom-elements.json",
"files": [
"README.md",
"dist",
"demo/assets",
"icons",
"custom-elements.json"
],
"scripts": {
"start": "web-dev-server --open demo/ --node-resolve",
"start:watch": "web-dev-server --open demo/ --node-resolve --watch",
"lint": "eslint --ext .ts . --ignore-path .gitignore",
"tw:watch": "cd demo && npx tailwindcss --config ./tailwind.config.cjs -i ./tw.css -o ./tw-output.css --watch",
"tw:build": "npx tailwindcss -i ./demo/tw.css -o ./dist/tw.css",
"build:demo": "./node_modules/.bin/esbuild ./demo/demo-element.js --bundle --outfile=./demo/demo-element.js --allow-overwrite && cpy 'custom-elements.json' demo",
"build": "tsc && npm run tw:build && npm run build:demo && npm run analyze",
"build:tsc": "tsc",
"build:watch": "tsc --watch",
"analyze": "npx @custom-elements-manifest/analyzer analyze --globs \"./src/LitWeather.ts\""
},
"dependencies": {
"lit": "^2.6.1"
},
"devDependencies": {
"@types/node": "18.14.2",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"@web/dev-server": "^0.1.35",
"@web/dev-server-esbuild": "0.3.3",
"cpy-cli": "^4.2.0",
"esbuild": "^0.17.10",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.6.0",
"prettier": "^2.8.4",
"tailwindcss": "^3.2.7",
"tslib": "2.5.0",
"typescript": "4.9.5"
},
"publishConfig": {
"access": "public"
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid",
"printWidth": 100
}
}