-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
113 lines (113 loc) · 4.64 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
{
"_schemaVersion": "22.13.0",
"name": "jimmy",
"version": "10.9.3",
"description": "This repository contains Jimmy Luo's personal website. As of August 31, 2022, the main branch of this repository is continuously deployed to https://jimm.my.",
"keywords": [
"typescript",
"sveltekit",
"azure-static-web-apps"
],
"repository": "github:jimmy-zhening-luo/jimmy",
"homepage": "https://github.com/jimmy-zhening-luo/jimmy#readme",
"bugs": "https://github.com/jimmy-zhening-luo/jimmy/issues",
"license": "MIT",
"private": true,
"publishConfig": {
"access": "public",
"tag": "next"
},
"type": "module",
"main": "",
"types": "",
"config": {
"language": "svelte",
"rewrite": "true",
"lint": "true"
},
"engineStrict": true,
"engines": {
"node": ">=22.13.0",
"npm": ">=10.9.0"
},
"peerDependenciesMeta": {},
"dependencies": {},
"devDependencies": {
"@fontsource/open-sans": "^5.1.1",
"@fontsource/overpass-mono": "^5.1.1",
"@sveltejs/adapter-static": "^3.0.8",
"@sveltejs/kit": "^2.15.3",
"@sveltejs/vite-plugin-svelte": "^5.0.3",
"@types/chai": "^5.0.1",
"@types/mocha": "^10.0.10",
"autoprefixer": "^10.4.20",
"chai": "^5.1.2",
"eslint": "~9.18.0",
"linted": "~24.2.1",
"mocha": "^11.0.1",
"npm-run-all": "^4.1.5",
"postcss": "^8.5.1",
"run-script-os": "^1.1.6",
"svelte": "^5.18.0",
"svelte-check": "^4.1.4",
"tailwindcss": "^3.4.17",
"ts-add-js-extension": "^1.6.5",
"tslib": "^2.8.1",
"typescript": "^5.7.3",
"vite": "^6.0.7"
},
"scripts": {
"build": "run-os",
"build:default": "npm run rebuild+lint+test -- $npm_package_config_language $npm_package_config_lint default",
"build:windows": "npm run rebuild+lint+test -- %npm_package_config_language% %npm_package_config_lint% windows",
"rebuild+lint+test": "run-s \"clean:{1}:{3}\" \"compile:{1}:*\" \"lint:{2}\" \"test:{1}\" --",
"clean:ts:default": "rm -rf dist",
"clean:ts:windows": "cmd /c if exist dist rmdir /s /q dist",
"clean:svelte:default": "rm -rf build .svelte-kit",
"clean:svelte:windows": "run-s clean:svelte:windows:*",
"clean:svelte:windows:build": "cmd /c if exist build rmdir /s /q build",
"clean:svelte:windows:kit": "cmd /c if exist .svelte-kit rmdir /s /q .svelte-kit",
"compile:ts:compile": "tsc",
"compile:ts:rewrite": "run-os",
"compile:ts:rewrite:default": "npm run compile:ts:rewrite+condition:$npm_package_config_rewrite",
"compile:ts:rewrite:windows": "npm run compile:ts:rewrite+condition:%npm_package_config_rewrite%",
"compile:ts:rewrite+condition:true": "ts-add-js-extension --dir=dist",
"compile:ts:rewrite+condition:false": "echo \"Skip rewrite TypeScript imports (fix=false)\"",
"compile:svelte:sync": "svelte-kit sync",
"compile:svelte:check": "svelte-check --tsconfig ./tsconfig.json",
"compile:svelte:compile": "vite build",
"lint": "npm run build",
"lint:true": "run-os",
"lint:true:default": "run-s lint:scope:global:* \"lint:scope:$npm_package_config_language\"",
"lint:true:windows": "run-s lint:scope:global:* \"lint:scope:%npm_package_config_language%\"",
"lint:false": "(npm run lint:true) || (echo \"Skipped linting (lint=false)\")",
"lint:scope:global:configs": "npm run linter -- {*,.github/**/*}.{json,jsonc,yml,yaml,js,cjs,mjs,ts,cts,mts}",
"lint:scope:global:code": "npm run linter -- {src,tests,static,typings}/**/*.{html,js,cjs,mjs,ts,cts,mts}",
"lint:scope:ts": "echo \"Linting `ts`\"",
"lint:scope:svelte": "npm run linter -- {src,tests,static}/**/*.svelte",
"linter": "eslint --cache --fix",
"postbuild": "echo \"Build (+lint) complete.\"",
"pretest": "npm run build",
"test": "",
"test:ts": "mocha",
"test:svelte": "",
"start": "run-os",
"start:default": "npm run start+os:$npm_package_config_language",
"start:windows": "npm run start+os:%npm_package_config_language%",
"start+os:ts": "node .",
"start+os:svelte": "vite preview",
"prestart": "npm test",
"prepublishOnly": "npm test",
"postpublish": "run-os",
"postpublish:default": "if [ \"${npm_package_version#*-}\" = \"${npm_package_version}\" ]; then npm dist-tag add \"$npm_package_name@$npm_package_version\" latest; fi",
"postpublish:windows": "cmd /c for /f \"delims=-\" %a in (\"%npm_package_version%\") do if \"%a\" == \"%npm_package_version%\" npm dist-tag add \"%npm_package_name%@%npm_package_version%\" latest",
"predeploy": "npm test",
"deploy": ""
},
"mocha": {
"spec": [
"dist/**/*.spec.js"
]
},
"author": "Jimmy Zhening Luo <[email protected]> (https://jimm.my/)"
}