-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 3.4 KB
/
package.json
File metadata and controls
106 lines (106 loc) · 3.4 KB
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
{
"name": "svelteesp32",
"version": "3.0.1",
"description": "Convert Svelte (or any frontend) JS application to serve it from ESP32 webserver (PsychicHttp)",
"author": "BCsabaEngine",
"license": "ISC",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./vite": {
"types": "./dist/vitePlugin.d.ts",
"require": "./dist/vitePlugin.js",
"default": "./dist/vitePlugin.js"
}
},
"main": "./dist/index.js",
"engines": {
"node": ">=22",
"npm": ">=10"
},
"files": [
"bin/*.js",
"dist/**/*.js",
"dist/**/*.d.ts"
],
"bin": {
"svelteesp32": "bin/index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/BCsabaEngine/svelteesp32.git"
},
"bugs": {
"url": "https://github.com/BCsabaEngine/svelteesp32/issues"
},
"homepage": "https://github.com/BCsabaEngine/svelteesp32",
"scripts": {
"dev:async": "nodemon src/index.ts -- -e async -s ./demo/svelte/dist -o ./demo/esp32/include/svelteesp32.h --etag=always --gzip=always --cachetime=86400 --version=v$npm_package_version",
"dev:psychic": "nodemon src/index.ts -- -e psychic -s ./demo/svelte/dist -o ./demo/esp32/include/svelteesp32.h --etag=never --gzip=never --version=v$npm_package_version",
"dev:webserver": "nodemon src/index.ts -- -e webserver -s ./demo/svelte/dist -o ./demo/esp32/include/svelteesp32.h --etag=always --gzip=always --cachetime=86400 --version=v$npm_package_version",
"dev:init": "tsx src/cliInit.mts",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:esp32": "./package.script && ~/.platformio/penv/bin/pio run -d ./demo/esp32",
"test:esp32idf": "./package.script && ~/.platformio/penv/bin/pio run -d ./demo/esp32idf",
"test:all": "node --run test:esp32 && node --run test:esp32idf",
"clean": "tsc --build --clean",
"build": "tsc --build --clean && tsc --build --force",
"format:check": "prettier --check .",
"format:fix": "prettier --write . | grep -v 'unchanged' | sed G",
"lint:check": "eslint .",
"lint:fix": "eslint --fix .",
"fix": "node --run format:fix && node --run lint:fix && node --run format:fix",
"all": "node --run fix && node --run build && node --run test",
"npm:reinstall": "rm -rf ./node_modules && rm -f ./package-lock.json && npm i && npm i"
},
"keywords": [
"svelte",
"svelte5",
"angular",
"react",
"vue",
"esp32",
"esp8266",
"webserver",
"psychichttpserver",
"espasyncwebserver"
],
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/mime-types": "^3.0.1",
"@types/node": "^25.6.0",
"@types/picomatch": "^4.0.3",
"@typescript-eslint/eslint-plugin": "^8.59.1",
"@typescript-eslint/parser": "^8.59.1",
"@vitest/coverage-v8": "^4.1.5",
"eslint": "^10.3.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-simple-import-sort": "^13.0.0",
"eslint-plugin-unicorn": "^64.0.0",
"globals": "^17.6.0",
"memfs": "^4.57.2",
"nodemon": "^3.1.14",
"prettier": "^3.8.3",
"tsx": "^4.21.0",
"typescript": "^6.0.3",
"vitest": "^4.1.5"
},
"peerDependencies": {
"vite": ">=5"
},
"peerDependenciesMeta": {
"vite": {
"optional": true
}
},
"dependencies": {
"handlebars": "^4.7.9",
"mime-types": "^3.0.2",
"picomatch": "^4.0.4",
"tinyglobby": "^0.2.16"
}
}