-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
87 lines (87 loc) · 2.58 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
{
"name": "@trvt/root",
"version": "2.1.0",
"private": true,
"description": "Trivet, a system for building webpages",
"repository": {
"type": "git",
"url": "git+https://github.com/dutchcelt/trivet.git"
},
"license": "AGPL-3.0",
"author": "C. Egor Kloos",
"type": "module",
"workspaces": [
"packages/assets",
"packages/styles",
"packages/cli",
"packages/designtokens",
"packages/utils",
"packages/core",
"packages/custom-elements/*",
"packages/components",
"docs"
],
"scripts": {
"prebuild": "npm run format && npm run lint",
"build": "npm run build:workspaces && npm run build:docs",
"build:docs": "npm -w @trvt/docs run eleventy --silent",
"build:workspaces": "npm --workspaces run build --if-present --silent",
"develop": "npx wds -c configs/web-dev-server.config.js",
"predevelop:docs": "npm run build:workspaces",
"develop:docs": "npm -w @trvt/docs run eleventy:develop",
"format": "npm run format:eslint && npm run format:prettier",
"format:eslint": "eslint --ext .js,.html . --fix --ignore-path .gitignore",
"format:prettier": "prettier \"packages/**/*.{js,css}\" --write --ignore-path .gitignore",
"lint": "npm run lint:eslint && npm run lint:prettier",
"lint:eslint": "eslint --ext .js,.html . --ignore-path .gitignore",
"lint:prettier": "prettier \"packages/**/*.js\" --check --ignore-path .gitignore",
"prepare": "husky",
"test": "npm run lint && wtr \"packages/**/*.test.js\" --node-resolve",
"types": "npm --workspaces run types --if-present --silent"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write"
],
"package.json": [
"npx sort-package-json"
]
},
"prettier": {
"arrowParens": "avoid",
"singleQuote": true
},
"eslintConfig": {
"extends": [
"@open-wc/eslint-config"
]
},
"devDependencies": {
"@babel/plugin-syntax-import-attributes": "^7.24.1",
"@changesets/cli": "^2.19.0",
"@esm-bundle/chai": "^4.3.4-fix.0",
"@open-wc/eslint-config": "^12.0.3",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@web/dev-server": "^0.4.6",
"@web/dev-server-import-maps": "^0.0.7",
"@web/rollup-plugin-copy": "^0.3.0",
"@web/rollup-plugin-html": "^1.11.0",
"@web/test-runner": "^0.18.1",
"chalk": "^5.3.0",
"chalk-cli": "^5.0.1",
"chokidar": "^3.5.3",
"chokidar-cli": "^3.0.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"husky": "^9.0.11",
"lightningcss": "^1.25.1",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"rollup": "^4.22.4",
"rollup-plugin-css-modules": "^0.1.2",
"sort-package-json": "^2.10.0",
"typescript": "^5.6.2"
}
}