-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
58 lines (58 loc) · 1.61 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
{
"name": "@mochiapp/cli",
"author": "ErrorErroError",
"version": "0.0.8",
"description": "A cli tool used to build and bundle Mochi modules.",
"keywords": [
"cli"
],
"repository": "https://github.com/Mochi-Team/cli",
"homepage": "https://github.com/Mochi-Team/cli",
"license": "MIT",
"main": "dist/src/index.js",
"bin": {
"mochi-cli": "dist/src/index.js"
},
"devDependencies": {
"@types/chai": "^4.3.10",
"@types/ejs": "^3.1.4",
"@types/mocha": "^10.0.4",
"@types/node": "^20.8.10",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"chai": "^4.3.10",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-formatter-github-annotations": "^0.1.0",
"eslint-plugin-prettier": "^5.0.1",
"husky": "^8.0.0",
"lint-staged": "^15.0.2",
"memfs": "^4.6.0",
"mocha": "^10.2.0",
"prettier": "^3.0.3",
"ts-node": "^10.9.1"
},
"dependencies": {
"@commander-js/extra-typings": "^11.1.0",
"commander": "^11.1.0",
"consola": "^3.2.3",
"ejs": "^3.1.9",
"esbuild": "^0.19.5",
"typescript": "^5.2.2"
},
"scripts": {
"prepare": "husky install",
"lint": "eslint src/**/*.ts tests/**/*.ts",
"lint:fix": "eslint src/**/*.ts tests/**/*.ts --fix",
"format": "prettier -w --ignore-path .gitignore src/**/*.ts tests/**/*.ts",
"build": "rm -rf dist && tsc && cp -r src/templates dist/src",
"test": "mocha -r ts-node/register tests/**/*.spec.ts",
"watch": "tsc --watch"
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
]
}
}