forked from soulsands/trilium-chat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
60 lines (60 loc) · 2.32 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
{
"name": "trilium-chat",
"version": "0.4.5",
"description": "The chat plugin highly integrated with Trilium.",
"keywords": [],
"license": "AGPL-3.0-only",
"author": "soulsands <[email protected]>",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://gitee.com/soulsands/trilium-chat.git"
},
"scripts": {
"dev": "cross-env ENV=dev webpack serve --open --config webpack.dev.js",
"build:test": "npm run html && cross-env ENV=triliumTest webpack --config webpack.prod.js && node ./scripts/syncDistToTrilium.js",
"build:preview": "npm run html && cross-env ENV=preview webpack --config webpack.prod.js ",
"html": "webpack --config webpack.html.js",
"build": "npm run html && cross-env ENV=prod webpack --config webpack.prod.js && npm run build:preview",
"release": "npm run build && node ./scripts/release.js",
"lint:js": "eslint . --cache --fix",
"lint:style": "stylelint \"**/*.less\" --fix",
"lint": "npm run lint:js && npm run lint:style",
"prepare": "husky install"
},
"devDependencies": {
"copy-webpack-plugin": "^11.0.0",
"cross-env": "^7.0.3",
"css-loader": "^6.7.4",
"dotenv-webpack": "^8.0.1",
"eslint": "^8.42.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsonc": "^2.7.0",
"eslint-plugin-prettier": "^4.2.1",
"html-webpack-plugin": "^5.5.1",
"husky": "^8.0.3",
"jsonc-eslint-parser": "^2.2.0",
"less": "^4.1.3",
"less-loader": "^11.1.0",
"lint-staged": "^13.2.1",
"postcss-less": "^3.0.0",
"prettier": "2.8.7",
"style-loader": "^3.3.3",
"stylelint": "^14.10.0",
"stylelint-config-idiomatic-order": "^8.1.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^24.0.0",
"stylelint-order": "^5.0.0",
"webpack": "^5.84.0",
"webpack-cli": "^5.1.1",
"webpack-dev-server": "^4.15.0",
"webpack-merge": "^5.9.0"
},
"lint-staged": {
"src/**/*.js": "eslint --cache --fix",
"src/**/*.less": "stylelint --fix"
}
}