-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
87 lines (87 loc) · 2.47 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
{
"name": "svelte-jester",
"version": "5.0.0",
"description": "A Jest transformer for Svelte - compile your components before importing them into tests",
"type": "module",
"exports": "./dist/transformer.mjs",
"license": "MIT",
"engines": {
"node": ">=18",
"pnpm": "^8.0.0"
},
"homepage": "https://github.com/svelteness/svelte-jester#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/svelteness/svelte-jester.git"
},
"bugs": {
"url": "https://github.com/svelteness/svelte-jester/issues"
},
"keywords": [
"svelte-jester",
"jest",
"svelte",
"sveltekit",
"compile",
"transformer",
"preprocess",
"test"
],
"files": [
"dist/**/*"
],
"scripts": {
"build": "rollup -c rollup.config.cjs",
"toc": "doctoc README.md",
"lint": "standard --fix --env jest",
"test": "pnpm test:esm && pnpm test:cjs",
"test:esm": "pnpm build && cross-env NODE_OPTIONS=--experimental-vm-modules jest src/__tests__/transformer.test.js",
"test:cjs": "pnpm build && jest src/__tests__/transformer.test.cjs",
"e2e": "pnpm e2e:svelte-3 && pnpm e2e:svelte-4 && pnpm e2e:svelte-5 && pnpm e2e:sveltekit",
"e2e:svelte-3": "cd e2e/svelte-3 && pnpm test",
"e2e:svelte-4": "cd e2e/svelte-4 && pnpm test",
"e2e:svelte-5": "cd e2e/svelte-5 && pnpm test",
"e2e:sveltekit": "cd e2e/sveltekit && pnpm test",
"test:nocache": "pnpm install && jest --clearCache && pnpm test -- --no-cache",
"test:watch": "pnpm test -- --watch",
"test:update": "pnpm test -- --updateSnapshot --coverage",
"setup": "pnpm install && pnpm validate",
"validate": "pnpm lint && pnpm test:nocache && pnpm e2e",
"release": "standard-version"
},
"standard-version": {
"scripts": {
"prerelease": "pnpm validate"
}
},
"peerDependencies": {
"jest": ">= 27",
"svelte": ">= 3"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.1.0",
"@sveltejs/adapter-static": "^3.0.0",
"@types/jest": "^29.5.3",
"cross-env": "^7.0.3",
"doctoc": "^2.2.1",
"jest": "^29.6.1",
"jest-circus": "^29.6.1",
"rollup": "^3.26.3",
"rollup-plugin-copy-assets": "^2.0.3",
"sass": "^1.64.1",
"standard": "^17.1.0",
"standard-version": "^9.5.0",
"svelte-preprocess": "^5.0.4",
"typescript": "^5.1.6"
},
"packageManager": "pnpm@8.6.5",
"standard": {
"globals": [
"jest",
"it",
"expect",
"describe",
"$state"
]
}
}