forked from blikblum/wc-context
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 2.73 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
92
93
94
95
96
97
98
{
"name": "wc-context",
"version": "1.0.0",
"description": "Context for HTML custom elements / web components",
"repository": "blikblum/wc-context",
"author": "Luiz Américo Pereira Câmara",
"contributors": [
"Luiz Américo Pereira Câmara"
],
"license": "MIT",
"keywords": [
"webcomponent",
"custom-element",
"context",
"lit-element",
"lit"
],
"type": "module",
"main": "core.js",
"files": [
"context-provider.js",
"context-consumer.js",
"core.js",
"lit.js",
"controllers.js",
"mixin.js",
"types"
],
"jest": {
"modulePathIgnorePatterns": [
"<rootDir>/dist/",
"<rootDir>/examples/"
],
"testEnvironment": "jsdom"
},
"devDependencies": {
"@esm-bundle/chai": "4.3.4-fix.0",
"@open-wc/testing": "^3.2.0",
"@types/istanbul-lib-report": "^3.0.0",
"@types/istanbul-reports": "^3.0.1",
"@types/jsdom": "^21.1.1",
"@types/node": "^20.4.8",
"@web/dev-server": "^0.3.0",
"@web/test-runner": "^0.17.0",
"@web/test-runner-puppeteer": "^0.14.0",
"eslint": "^8.46.0",
"eslint-config-prettier": "^9.0.0",
"jest": "^29.6.2",
"jest-environment-jsdom": "^29.6.2",
"jsdom": "^22.1.0",
"lit": "^2.8.0",
"prettier": "^2.8.8",
"typescript": "^5.1.6",
"vite": "^4.4.9",
"vitepress": "^1.0.0-rc.25",
"vitest": "beta",
"vue": "^3.3.4"
},
"exports": {
".": {
"types": "./types/core.d.ts",
"default": "./core.js"
},
"./mixin.js": {
"types": "./types/mixin.d.ts",
"default": "./mixin.js"
},
"./lit.js": {
"types": "./types/lit.d.ts",
"default": "./lit.js"
},
"./controllers.js": {
"types": "./types/controllers.d.ts",
"default": "./controllers.js"
},
"./context-consumer.js": {
"types": "./types/context-consumer.d.ts",
"default": "./context-consumer.js"
},
"./context-provider.js": {
"types": "./types/context-provider.d.ts",
"default": "./context-provider.js"
}
},
"scripts": {
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"format": "prettier lit-element.js lit.js wc-context.js core.js test --write",
"lint": "eslint lit-element.js lit.js wc-context.js core.js test",
"start": "web-dev-server --open examples/ --node-resolve",
"start:watch": "web-dev-server --open examples/ --node-resolve --watch",
"test": "yarn node --experimental-vm-modules $(yarn bin jest)",
"test-example:wtr": "web-test-runner examples/testing/wtr.test.js --node-resolve --puppeteer",
"test-example:vitest": "vitest vitest.test.js --run --environment jsdom",
"types": "tsc --project tsconfig.types.json"
}
}