-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 2.45 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
{
"name": "@silverbirder/o-embed",
"description": "Webcomponent o-embed following open-wc recommendations",
"license": "MIT",
"author": "silverbirder",
"version": "0.0.10",
"main": "dist/src/index.js",
"module": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"exports": {
".": "./dist/src/index.js",
"./o-embed.js": "./dist/src/o-embed.js"
},
"scripts": {
"start": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\"",
"build": "tsc",
"prepublish": "tsc",
"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",
"test": "tsc && wtr --coverage",
"test:watch": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\"",
"storybook": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds -c .storybook/server.mjs\"",
"build-storybook": "tsc && build-storybook",
"chromatic": "npx chromatic --project-token=efed1449cef5"
},
"dependencies": {
"lit": "^2.0.0-rc.2"
},
"devDependencies": {
"@open-wc/eslint-config": "7.0.0",
"@open-wc/testing": "next",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"@web/dev-server": "0.1.30",
"@web/dev-server-storybook": "next",
"@web/test-runner": "next",
"@web/test-runner-junit-reporter": "0.4.11",
"chromatic": "6.5.3",
"concurrently": "7.1.0",
"eslint": "7.32.0",
"eslint-config-prettier": "8.5.0",
"husky": "4.3.8",
"lint-staged": "10.5.4",
"prettier": "2.6.2",
"sinon": "13.0.1",
"tslib": "2.3.1",
"typescript": "4.6.3"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"@open-wc",
"prettier"
],
"plugins": [
"@typescript-eslint"
],
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error"
],
"import/no-unresolved": "off",
"import/extensions": [
"error",
"always",
{
"ignorePackages": true
}
]
}
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
]
}
}