-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
82 lines (82 loc) · 2.3 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
{
"name": "blackjack",
"version": "1.0.0",
"scripts": {
"build": "npm run set-config -- prod && rollup -c",
"deploy": "npm run build && cd public && surge --domain blackjack-wip.surge.sh",
"deploy-testing": "npm run build && cd public && surge --domain blackjack-testing-wip.surge.sh",
"dev": "npm run set-config -- dev && rollup -c -w",
"dev-win": "start cmd /k \"npm run dev\"",
"lint-styles": "stylelint \"public/build/global.css\" \"src/components/**/*.svelte\"",
"set-config": "node setAppConfig.js",
"start": "sirv public",
"test": "npm run set-config -- test && jest tests",
"test-win": "start cmd /k \"npm run test\"",
"test:watch": "npm run test -- --watch",
"test:watch-win": "start cmd /k \"npm run test:watch\"",
"validate": "svelte-check"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint-styles && npm run test"
}
},
"jest": {
"automock": false,
"transform": {
"^.+\\.svelte$": [
"svelte-jester",
{
"preprocess": true
}
],
"^.+\\.ts$": "ts-jest"
},
"moduleFileExtensions": [
"js",
"ts",
"svelte"
],
"setupFiles": [
"./setupJest.js"
],
"setupFilesAfterEnv": [
"@testing-library/jest-dom/extend-expect"
],
"globals": {
"ts-jest": {
"tsConfig": "<rootDir>/tests/tsconfig.spec.json"
}
}
},
"devDependencies": {
"@rollup/plugin-commonjs": "^14.0.0",
"@rollup/plugin-node-resolve": "^8.0.0",
"@rollup/plugin-typescript": "^4.0.0",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/svelte": "^3.0.0",
"@testing-library/user-event": "^12.1.7",
"@tsconfig/svelte": "^1.0.0",
"husky": "^4.3.0",
"jest": "^26.4.2",
"jest-fetch-mock": "^3.0.3",
"lint-staged": "^10.4.0",
"rollup": "^2.28.2",
"rollup-plugin-livereload": "^2.0.0",
"rollup-plugin-svelte": "^6.0.1",
"rollup-plugin-terser": "^7.0.2",
"stylelint": "^13.7.2",
"stylelint-config-standard": "^20.0.0",
"svelte": "^3.29.0",
"svelte-check": "^1.0.55",
"svelte-jester": "^1.1.5",
"svelte-preprocess": "^4.3.2",
"ts-jest": "^26.4.1",
"tslib": "^2.0.0",
"typescript": "^3.9.3"
},
"dependencies": {
"@types/jest": "^26.0.14",
"sirv-cli": "^1.0.0"
}
}