-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
116 lines (116 loc) · 3.46 KB
/
Copy pathpackage.json
File metadata and controls
116 lines (116 loc) · 3.46 KB
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "@dartbot/segment",
"version": "0.4.0",
"description": "Segmented display implementd as a vanilla Web Component",
"keywords": [
"segment",
"segment display",
"seven segment",
"dartbot",
"web component",
"canvas"
],
"homepage": "https://docs.dartbot.com/segment",
"repository": {
"type": "git",
"url": "https://github.com/dartbotapp/segment.git"
},
"license": "MIT",
"author": "Stephen Marsh",
"type": "module",
"files": [
"dist"
],
"main": "dist/lib/index.js",
"module": "dist/src/index.js",
"exports": {
".": "./dist/lib/index.js",
"./seven-segment.js": "./dist/lib/seven-segment.js",
"./utils": "./dist/lib/utils"
},
"scripts": {
"analyze": "cem analyze --outdir dist",
"start": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"web-dev-server\"",
"build": "tsc && npm run analyze -- --exclude dist",
"prepublish": "tsc && npm run analyze -- --exclude dist",
"lint": "eslint --ext .ts,.html . --ignore-path .gitignore && prettier \"**/*.ts\" --check --ignore-path .gitignore",
"format": "eslint --ext .ts,.html . --fix --ignore-path .gitignore && prettier \"**/*.ts\" --write --ignore-path .gitignore",
"prepare": "husky",
"test": "tsc && wtr --coverage",
"test:watch": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\"",
"storybook": "tsc --noCheck && npm run analyze -- --exclude dist && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"storybook dev -p 8080\"",
"storybook:build": "npm run build && storybook build"
},
"devDependencies": {
"@chromatic-com/storybook": "^2.0.2",
"@custom-elements-manifest/analyzer": "^0.10.3",
"@open-wc/eslint-config": "^12.0.3",
"@open-wc/testing": "^4.0.0",
"@storybook/addon-actions": "^8.3.6",
"@web/test-runner-core": "^0.13.4",
"@storybook/addon-a11y": "^8.0.0",
"@storybook/addon-essentials": "^8.0.0",
"@storybook/addon-interactions": "^8.3.6",
"@storybook/addon-links": "^8.0.0",
"@storybook/html": "^8.0.0",
"@storybook/html-vite": "^8.0.0",
"@storybook/web-components": "^8.0.0",
"@types/mocha": "^10.0.7",
"@types/node": "^20.11.1",
"@typescript-eslint/eslint-plugin": "^8.11.0",
"@typescript-eslint/parser": "^8.11.0",
"@web/dev-server": "^0.4.6",
"@web/dev-server-esbuild": "^1.0.2",
"@web/test-runner": "^0.18.2",
"@web/test-runner-playwright": "^0.11.0",
"concurrently": "^8.2.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.7",
"prettier": "^3.3.2",
"remark-gfm": "^4.0.0",
"sinon": "^19.0.2",
"storybook": "^8.0.0",
"tslib": "^2.6.3",
"typescript": "^5.5.3"
},
"customElements": "./dist/custom-elements.json",
"eslintIgnore": [
"**/*.test.ts"
],
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"@open-wc",
"prettier"
],
"plugins": [
"@typescript-eslint"
],
"ignorePatterns": [
"**/*.test.ts"
],
"globals": {
"NodeJS": true
},
"rules": {
"no-unused-vars": "off",
"import/no-unresolved": "off",
"import/extensions": "off",
"no-use-before-define": "off",
"no-shadow": "off"
}
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid"
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
]
},
"dependencies": {}
}