-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 3.83 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
{
"name": "gensketch-js",
"private": true,
"description": "GenSketch Frontend",
"version": "0.0.0",
"type": "module",
"license": "MIT",
"browserslist": [
"defaults",
"not IE 11",
"safari >13",
"not op_mini all"
],
"exports": {
".": {
"svelte": "./dist/src/main.js",
"vite": "./dist/vite.config.js"
}
},
"scripts": {
"bench": "cd src-tauri && cargo bench",
"build": "tsc && vite build",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"dev": "vite",
"lint-backend": "cd src-tauri; cargo clippy; cd ..",
"lint-frontend": "eslint src",
"lint": "npm run lint-backend; npm run lint-frontend",
"format": "prettier-eslint --write '**/*.{js,ts,html,css,scss,svelte}'",
"preview": "vite preview",
"tauri-build": "tauri build",
"tauri-prd": "npm run tauri-build && ./src-tauri/target/release/gensketch",
"tauri-dev": "RUST_BACKTRACE=1 RUST_LOG=debug tauri dev",
"typecov": "type-coverage --strict --detail --ignore-catch | grep -v error",
"test-frontend": "NODE_NO_WARNINGS=1 NODE_ENV=test node --experimental-vm-modules node_modules/jest/bin/jest.js --silent --config package.json src",
"test-backend": "RUST_BACKTRACE=1 RUST_LOG=debug cargo test",
"test": "npm run test-backend; npm run test-frontend"
},
"dependencies": {
"@iconify/svelte": "^3.1.3",
"@pixi/layers": "^2.0.1",
"@tauri-apps/api": "^1.2.0",
"bigint-polyfill": "^0.1.0",
"lodash-es": "^4.17.21",
"path-browserify": "^1.0.1",
"pixi-viewport": "^5.0.1",
"pixi.js": "^7.1.3",
"tauri-plugin-log-api": "github:tauri-apps/tauri-plugin-log",
"uuid": "^9.0.0"
},
"devDependencies": {
"@iconify/types": "^2.0.0",
"@sveltejs/adapter-auto": "^2.0.0",
"@sveltejs/adapter-static": "^1.0.0-next.50",
"@sveltejs/kit": "^1.5.0",
"@tauri-apps/cli": "^1.2.0",
"@types/cookie": "^0.5.1",
"@types/jest": "^29.5.0",
"@types/lodash-es": "^4.17.7",
"@types/node": "^18.11.9",
"@types/uuid": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"autoprefixer": "^10.4.13",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-compat": "^4.1.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-import-alias": "^1.2.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-svelte": "^2.21.0",
"jest-environment-jsdom": "^29.5.0",
"prettier": "^2.7.1",
"prettier-eslint": "^15.0.1",
"prettier-eslint-cli": "^7.1.0",
"prettier-plugin-svelte": "^2.9.0",
"svelte": "^3.54.0",
"svelte-check": "^3.0.1",
"svelte-loading-spinners": "^0.3.4",
"svelte-preprocess": "^5.0.1",
"ts-jest": "^29.1.0",
"tslib": "^2.4.1",
"type-coverage": "^2.24.1",
"typescript": "^4.9.3",
"vite": "^4.0.0"
},
"jest": {
"preset": "ts-jest",
"extensionsToTreatAsEsm": [
".ts"
],
"moduleNameMapper": {
"@lib(.*)$": "<rootDir>/src/lib$1",
"\\.(png|fnt)$": "<rootDir>/src/lib/testUtil/fileMock.ts"
},
"modulePathIgnorePatterns": [
"dist"
],
"transform": {
"\\.tsx?$": [
"ts-jest",
{
"useESM": true
}
]
}
}
}