forked from loo-y/iPhoneOrder.2023
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
79 lines (79 loc) · 3.13 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
{
"name": "iPhoneOrder.2023",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"bunbuild": "bun ./bunBuild.ts",
"afterbuild": "node ./buildAfter.js",
"zip:extension": "rm -rf iPhoneOrder.zip && cd ./extension && zip -r ../iPhoneOrder.zip . && cd ..",
"build:extension:after": "bun run build && bun run afterbuild",
"bun:extension": "bun clear:terminal && cross-env-shell BUILD_TYPE=extension bun run build:extension:after && bun run bunbuild && bun zip:extension",
"pack:extensionscript": "webpack --config ./extension.webpack.config.js",
"clear:terminal": "tput reset",
"build:extension": "npm run clear:terminal && npm run pack:extensionscript && cross-env-shell BUILD_TYPE=extension npm run build && npm run afterbuild && npm run zip:extension",
"eslint": "./node_modules/.bin/eslint \"app/**/*.{js,jsx,ts,tsx}\" --ignore-pattern \"app/lib/\" --ignore-pattern \"app/shared/\"",
"check-types": "tsc --noemit",
"eslint:commit": "git diff --cached --name-only | grep -E 'app.*\\.[jt]sx?$' | xargs ./node_modules/.bin/eslint --quiet",
"eslint:quiet": "./node_modules/.bin/eslint \"app/**/*.{js,jsx,ts,tsx}\" --ignore-pattern \"app/lib/\" --ignore-pattern \"app/shared/\" --quiet",
"prettier:single": "./node_modules/.bin/prettier --single-quote --no-semi --trailing-comma es5 --print-width 120 --tab-width 4 --arrow-parens avoid --write",
"prettier": "./node_modules/.bin/prettier --single-quote --no-semi --trailing-comma es5 --print-width 120 --tab-width 4 --arrow-parens avoid --write \"app/**/*.{js,jsx,ts,tsx}\"",
"prettier:check": "npm run prettier -- --list-different",
"lint-staged": "lint-staged"
},
"keywords": [
"chrome",
"extension",
"nextjs",
"iPhone",
"iPhoneOrder"
],
"author": "loo-y",
"license": "ISC",
"pre-commit": "lint-staged",
"lint-staged": {
"app/**/*.{js,jsx,ts,tsx}": [
"npm run eslint:commit",
"prettier --single-quote --no-semi --trailing-comma es5 --print-width 120 --tab-width 4 --arrow-parens avoid --write \"!app/lib/**\"",
"git add"
]
},
"dependencies": {
"@headlessui/react": "^1.7.17",
"@heroicons/react": "^2.0.18",
"autoprefixer": "10.4.15",
"cross-fetch": "^4.0.0",
"lodash": "^4.17.21",
"next": "13.4.19",
"react": "18.2.0",
"react-dom": "18.2.0",
"typescript": "5.2.2"
},
"devDependencies": {
"@babel/cli": "^7.23.0",
"@babel/core": "^7.23.0",
"@babel/preset-env": "^7.22.20",
"@babel/preset-typescript": "^7.23.0",
"@types/lodash": "^4.14.199",
"babel-plugin-transform-remove-console": "^6.9.4",
"@types/node": "20.6.0",
"@types/react": "18.2.21",
"@types/react-dom": "18.2.7",
"cheerio": "^1.0.0-rc.12",
"clean-webpack-plugin": "^4.0.0",
"cross-env": "^7.0.3",
"eslint": "^8",
"eslint-config-next": "13.5.4",
"lint-staged": "^14.0.1",
"postcss": "^8",
"pre-commit": "^1.2.2",
"prettier": "^3.0.3",
"tailwindcss": "^3",
"ts-loader": "^9.5.0",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4"
}
}