-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
92 lines (92 loc) · 2.87 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
{
"name": "pure-lit",
"version": "3.0.5",
"description": "lit elements as functions",
"main": "./lib/index.js",
"module": "./lib/index.module.js",
"system": "./lib/index.system.js",
"type": "module",
"keywords": [
"lit-element",
"lit-elements",
"functional",
"component"
],
"scripts": {
"build": "rollup -c",
"build:watch": "rollup -c --watch",
"test": "jest --coverage",
"test:badges": "npm test && npx jest-coverage-badges --output ./docs/badges",
"documentation": "npx docsify-cli serve ./docs",
"release:beta": "npm test && npm run build && npm publish --tag=beta",
"release:patch": "npm run test:badges && npm run build && npm version --no-commit-hooks patch -m 'Creating new release %s' && git push && git push --tags",
"release:minor": "npm run test:badges && npm run build && npm version --no-commit-hooks minor -m 'Creating new release %s' && git push && git push --tags",
"release:major": "npm run test:badges && npm run build && npm version --no-commit-hooks major -m 'Creating new release %s' && git push && git push --tags"
},
"devDependencies": {
"@babel/preset-env": "^7.15.6",
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^3.0.0",
"@testing-library/dom": "^8.6.0",
"@testing-library/user-event": "^13.2.1",
"@types/jest": "^29.5.10",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.31.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lit": "^3.0.0",
"rollup": "^3.29.5",
"rollup-plugin-filesize": "^10.0.0",
"rollup-plugin-minify-html-literals": "^1.2.6",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.36.0",
"rollup-plugin-url-resolve": "^0.2.0",
"testing-library__dom": "^7.20.1-beta.1",
"ts-jest": "^29.0.0",
"typescript": "^4.4.3"
},
"peerDependencies": {
"lit": "^2.0.0 || ^3.0.0"
},
"dependencies": {
"lit-element-effect": "^1.0.2",
"lit-element-state-decoupler": "^2.0.3"
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"printWidth": 110
},
"jest": {
"testEnvironment": "jsdom",
"preset": "ts-jest/presets/js-with-babel",
"testPathIgnorePatterns": [
"build",
"docs"
],
"maxWorkers": "1",
"transformIgnorePatterns": [
"node_modules/(?!(lit|lit-element|@lit|lit-html|testing-library__dom)/)"
],
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$",
"coverageReporters": [
"json-summary",
"text"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"coveragePathIgnorePatterns": [
"index.ts"
]
},
"author": "Matthias Kainer",
"license": "ISC"
}