๐Ÿ“ฆ lencx / xi

๐Ÿ“„ package.json ยท 78 lines
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{
  "name": "xi",
  "version": "1.0.0",
  "description": "",
  "author": "lencx <cxin1314@gmail.com>",
  "license": "MIT",
  "scripts": {
    "dev": "vite",
    "build": "tsc && vite build",
    "rsw:deploy": "rsw && npm run build",
    "type-check": "tsc",
    "lint": "eslint . --ext ts,tsx,js,jsx",
    "lint:fix": "yarn lint --fix"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/lencx/xi.git"
  },
  "bugs": {
    "url": "https://github.com/lencx/xi/issues"
  },
  "homepage": "https://github.com/lencx/xi#readme",
  "devDependencies": {
    "@types/codemirror": "^5.60.0",
    "@types/react": "^17.0.8",
    "@types/react-dom": "^17.0.5",
    "@types/react-router-dom": "^5.1.7",
    "@typescript-eslint/eslint-plugin": "^4.25.0",
    "@typescript-eslint/parser": "^4.25.0",
    "@vitejs/plugin-react-refresh": "^1.3.3",
    "eslint": "^7.27.0",
    "eslint-config-prettier": "^8.3.0",
    "eslint-plugin-prettier": "^3.4.0",
    "eslint-plugin-react": "^7.23.2",
    "husky": "^6.0.0",
    "lint-staged": "^11.0.0",
    "prettier": "^2.3.0",
    "rsw-node": "^0.1.2",
    "sass": "^1.34.0",
    "stylelint": "^13.13.1",
    "stylelint-config-standard": "^22.0.0",
    "typescript": "^4.3.2",
    "vite": "^2.3.4",
    "vite-plugin-rsw": "^1.4.1",
    "vite-tsconfig-paths": "^3.3.12"
  },
  "dependencies": {
    "browser-fs-access": "^0.17.2",
    "codemirror": "^5.61.1",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "react-router-dom": "^5.2.0",
    "recoil": "^0.3.1"
  },
  "husky": {
    "hooks": {
      "pre-commit": [
        "yarn type-check && lint-staged"
      ]
    }
  },
  "lint-staged": {
    "*.{js,jsx,ts,tsx}": [
      "yarn lint:fix",
      "git add"
    ],
    "*.{css,scss}": [
      "prettier --write",
      "stylelint --syntax=scss --fix",
      "git add"
    ],
    "{*.{json,md}}": [
      "prettier --write",
      "git add"
    ]
  }
}