-
Notifications
You must be signed in to change notification settings - Fork 83
/
package.json
58 lines (58 loc) · 1.69 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
{
"name": "svelte-app",
"version": "1.0.0",
"private": true,
"type": "module",
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
"start": "sirv public --port 8081 --no-clear",
"test": "NODE_OPTIONS=--experimental-vm-modules jest src --ci --reporters=default --reporters=jest-junit",
"test:e2e": "start-server-and-test start http://localhost:8081 'cypress run $CYPRESS_OPTS --reporter junit --reporter-options mochaFile=reports/cypress-junit.xml'"
},
"jest": {
"transform": {
"^.+\\.svelte$": "svelte-jester"
},
"transformIgnorePatterns": ["/node_modules/"],
"moduleFileExtensions": [
"js",
"svelte"
],
"extensionsToTreatAsEsm": [".svelte"],
"setupFilesAfterEnv": [
"<rootDir>/node_modules/@testing-library/jest-dom"
],
"reporters": [
"default",
"jest-junit"
]
},
"jest-junit": {
"outputDirectory": "reports",
"outputName": "jest-junit.xml",
"ancestorSeparator": " › ",
"uniqueOutputName": "false",
"suiteNameTemplate": "{filepath}",
"classNameTemplate": "{classname}",
"titleTemplate": "{title}"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.2.3",
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/svelte": "^4.0.5",
"cypress": "^13.6.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-junit": "^16.0.0",
"rollup": "^4.8.0",
"rollup-plugin-css-only": "^4.5.2",
"rollup-plugin-livereload": "^2.0.0",
"rollup-plugin-svelte": "^7.1.5",
"rollup-plugin-terser": "^7.0.0",
"sirv-cli": "^2.0.0",
"start-server-and-test": "^2.0.0",
"svelte": "^4.2.8",
"svelte-jester": "^3.0.0"
}
}