-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
53 lines (53 loc) · 1.93 KB
/
package.json
File metadata and controls
53 lines (53 loc) · 1.93 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
{
"name": "coding-template",
"version": "2.0.0",
"description": "My opinionated coding template",
"keywords": [
"oxlint",
"template",
"typescript",
"yarn"
],
"homepage": "https://github.com/AxelEriksson0/coding-template#readme",
"bugs": {
"url": "https://github.com/AxelEriksson0/coding-template/issues"
},
"license": "MIT",
"author": "Axel Eriksson",
"repository": {
"type": "git",
"url": "git+https://github.com/AxelEriksson0/coding-template.git"
},
"workspaces": [
"packages/simple-function-and-test",
"packages/web"
],
"type": "module",
"scripts": {
"build": "yarn workspaces foreach --all -pt run build",
"dev": "yarn workspaces foreach --all -pt run dev",
"format": "oxfmt .",
"lint": "oxlint --type-aware",
"prepare": "lefthook install",
"start": "yarn workspaces foreach --all -pt run start",
"test": "yarn format && yarn lint && yarn ut",
"update": "yarn update:node && yarn update:yarn && yarn update:dependencies",
"update:dependencies": "npx npm-check-updates --deep --upgrade --install always && yarn && yarn dedupe",
"update:node": "NODE_VERSION_WITH_V=$(fnm list-remote | tail -n 1) && NODE_VERSION=$(printf '%s' \"$NODE_VERSION_WITH_V\" | sed 's/^v//') && FNM_COREPACK_ENABLED=false fnm install \"$NODE_VERSION_WITH_V\" && FNM_COREPACK_ENABLED=false fnm use \"$NODE_VERSION_WITH_V\" && npm install --global corepack@latest && corepack enable && echo \"$NODE_VERSION_WITH_V\" > .node-version && npm pkg set engines.node=\">=$NODE_VERSION\"",
"update:yarn": "yarn set version latest && corepack prepare yarn@latest --activate",
"ut": "yarn workspaces foreach --all run ut"
},
"dependencies": {
"solid-js": "^1.9.13"
},
"devDependencies": {
"lefthook": "^2.1.8",
"oxfmt": "^0.51.0",
"oxlint": "^1.66.0",
"oxlint-tsgolint": "^0.23.0"
},
"engines": {
"node": ">=26.2.0"
},
"packageManager": "yarn@4.15.0"
}