-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
50 lines (50 loc) · 1.43 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
{
"name": "sorting_algorithm_visualizer",
"version": "1.0.0",
"main": "index.js",
"author": "Bikram Karki",
"license": "MIT",
"type": "module",
"scripts": {
"start": "vite serve",
"build": "vite build",
"lint": "eslint --ext .ts,.tsx src/",
"lint:fix": "eslint --fix --ext .ts,.tsx src/",
"prettier": "prettier \"**/*.+(js|jsx|json|ts|tsx|css|scss|md|mdx|graphql)\" --write",
"deploy:draft": "rm -rf build && npm run build && netlify deploy -d build",
"deploy:prod": "rm -rf build && npm run build && netlify deploy -d build --prod"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"**/*.(ts|tsx|js|json|svg|css|scss)": [
"prettier --write",
"git add"
]
},
"dependencies": {
"@reduxjs/toolkit": "^1.8.1",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-redux": "^8.0.1",
"react-router-dom": "^6.3.0"
},
"devDependencies": {
"@types/react": "^18.0.8",
"@types/react-dom": "^18.0.3",
"@types/react-redux": "^7.1.24",
"@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"@vitejs/plugin-react": "^1.3.1",
"eslint": "^8.14.0",
"eslint-config-prettier": "^8.5.0",
"lint-staged": "^12.4.1",
"prettier": "^2.6.2",
"sass": "^1.51.0",
"simple-git-hooks": "^2.7.0",
"typescript": "^4.6.4",
"vite": "^2.9.6"
}
}