-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
113 lines (113 loc) · 2.92 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "svelte-htm",
"version": "1.2.0",
"description": "tagged template syntax for svelte to simplify testing",
"repository": {
"type": "git",
"url": "git+https://github.com/kenoxa/svelte-htm.git"
},
"keywords": [
"svelte",
"htm",
"Hyperscript Tagged Markup",
"tagged template",
"template literals",
"html",
"jsx",
"hyperscript",
"dom",
"jsdom",
"testing",
"ui",
"unit",
"functional"
],
"author": "Sascha Tandel <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/kenoxa/svelte-htm/issues"
},
"homepage": "https://github.com/kenoxa/svelte-htm#readme",
"source": "src/html.js",
"main": "./dist/cjs/html.js",
"exports": {
"./package.json": "./package.json",
".": {
"require": "./dist/cjs/html.js",
"umd": "./dist/umd/html.js",
"default": "./dist/esm/html.js"
}
},
"module": "./dist/esm/html.js",
"unpkg": "./dist/umd/html.js",
"jsdelivr": "./dist/umd/html.js",
"types": "index.d.ts",
"sideEffects": false,
"files": [
"dist",
"index.d.ts",
"jsx-dev-runtime.js",
"jsx-runtime.js"
],
"scripts": {
"prebuild": "rimraf dist",
"build": "rollup -c && echo '{\"type\":\"module\"}' > dist/esm/package.json",
"lint": "xo",
"fix": "xo --fix && prettier --ignore-path .gitignore --write .",
"prepublishOnly": "npm run build",
"test": "jest",
"test:watch": "npm test -- --watch",
"test:coverage": "npm test -- --coverage"
},
"engines": {
"node": ">=10"
},
"dependencies": {
"@babel/runtime-corejs3": "^7.19.0",
"core-js": "^3.25.1",
"htm": "^3.1.1",
"svelte-fragment-component": "^1.2.0",
"svelte-hyperscript": "^1.2.1"
},
"peerDependencies": {
"svelte": "3.x"
},
"devDependencies": {
"@babel/core": "^7.19.0",
"@babel/plugin-transform-runtime": "^7.18.10",
"@babel/preset-env": "^7.19.0",
"@jest/globals": "^29.0.3",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-node-resolve": "^14.0.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/svelte": "^3.2.1",
"babel-jest": "^29.0.3",
"eslint": "^8.23.0",
"eslint-plugin-jest": "^27.0.4",
"eslint-plugin-jest-dom": "^4.0.2",
"eslint-plugin-testing-library": "^5.6.3",
"husky": "^4.2.5",
"jest": "^26.6.3",
"jest-environment-jsdom-sixteen": "^1.0.3",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"rollup": "^2.79.0",
"rollup-plugin-node-externals": "^5.0.0",
"rollup-plugin-svelte": "^7.1.0",
"rollup-plugin-terser": "^7.0.2",
"svelte": "^3.50.1",
"svelte-jester": "^1.0.6",
"xo": "^0.52.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": "xo --fix",
"*.{js,css,json,md,svelte,yml,yaml}": "prettier --ignore-path .gitignore --write"
}
}