/
package.json
155 lines (155 loc) · 5.75 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "chendachao",
"homepage": "https://github.com/chendachao/chendachao.github.io",
"version": "1.15.0",
"description": "Larry's Home Page",
"main": "src/index.js",
"scripts": {
"setnode": "bash ./scripts/nvm.sh",
"trace:start": "node --trace-deprecation node_modules/webpack/bin/webpack.js --mode development --env development",
"start": "webpack serve --env development",
"build": "cross-env DOTENV_CONFIG_PATH=./.env.prod webpack build --mode production --env production",
"build:w": "cross-env DOTENV_CONFIG_PATH=./.env.prod webpack build --mode production --env production --watch --progress --devtool eval-cheap-source-map",
"serve": "http-server dist -c-1",
"analyse": "cross-env DOTENV_CONFIG_PATH=./.env.prod webpack build --mode production --env production --profile --json > stats.json",
"analyse:forward": "cross-env DOTENV_CONFIG_PATH=./.env.prod webpack build --mode production --env production smp",
"analyse:backward": "cross-env DOTENV_CONFIG_PATH=./.env.prod webpack build --mode production --env production analyse",
"prelint": "mkdir -p ./.tmp",
"lint:styles": "yarn prelint && stylelint ./src/**/*.{css,scss} > ./.tmp/styles.txt",
"lint:scripts": "yarn prelint && eslint ./src > ./.tmp/scripts.txt",
"lint:prettier": "prettier --list-different '{,!(node_modules)/**/}*.html'",
"format:styles": "stylelint ./src/**/*.{css,scss} --fix",
"format:scripts": "eslint ./src --fix",
"format:prettier": "prettier --write '{,!(node_modules)/**/}*.html'",
"release": "standard-version",
"version": "npm run release --commit-all",
"version:patch": "npm run release -- --release-as patch",
"version:minor": "npm run release -- --release-as minor",
"version:major": "npm run release -- --release-as major",
"push": "git push --follow-tags origin main",
"--deploy": "npm run version && npm run push",
"deploy:patch": "npm run version:patch && npm run push",
"deploy:minor": "npm run version:minor && npm run push",
"deploy:major": "npm run version:major && npm run push",
"predeploy": "yarn build",
"deploy": "gh-pages -d dist -b gh-pages -u 'chendachao <chendachao@outlook.com>' -r https://chendachao:$GITHUB_TOKEN@github.com/chendachao/chendachao.github.io.git",
"deploy:local": "npm run version:patch && cross-env GITHUB_TOKEN=$GITHUB_TOKEN node scripts/publish.js",
"prepare": "husky install"
},
"lint-staged": {
"*.{css,scss}": [
"stylelint --fix"
],
"*.{js,jsx,ts,tsx}": [
"eslint --cache --fix"
],
"*.html": [
"prettier --write"
]
},
"devDependencies": {
"@babel/core": "7.17.10",
"@babel/eslint-parser": "7.17.0",
"@babel/plugin-proposal-class-properties": "7.16.7",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-syntax-top-level-await": "7.14.5",
"@babel/preset-env": "7.17.10",
"@commitlint/cli": "16.2.4",
"@commitlint/config-conventional": "16.2.4",
"autoprefixer": "10.4.7",
"babel-loader": "8.2.5",
"compression-webpack-plugin": "9.2.0",
"copy-webpack-plugin": "10.2.4",
"cross-env": "7.0.3",
"css-loader": "6.7.1",
"css-minimizer-webpack-plugin": "3.4.1",
"dotenv": "16.0.0",
"error-overlay-webpack-plugin": "1.1.0",
"esbuild": "0.16.8",
"esbuild-loader": "2.20.0",
"eslint": "8.14.0",
"eslint-config-standard": "16.0.3",
"eslint-plugin-standard": "5.0.0",
"gh-pages": "3.2.3",
"git-revision-webpack-plugin": "5.0.0",
"glob-all": "3.2.1",
"html-webpack-plugin": "5.5.0",
"http-server": "14.1.0",
"husky": "7.0.4",
"javascript-obfuscator": "4.0.0",
"lint-staged": "12.3.5",
"mini-css-extract-plugin": "2.6.0",
"postcss-loader": "6.2.1",
"prettier": "2.5.1",
"process": "0.11.10",
"purgecss-webpack-plugin": "4.1.3",
"react-dev-utils": "12.0.1",
"script-ext-html-webpack-plugin": "2.1.5",
"speed-measure-webpack-plugin": "1.5.0",
"standard-version": "9.3.2",
"style-loader": "3.3.1",
"stylelint": "14.5.3",
"stylelint-config-prettier": "9.0.3",
"stylelint-config-recommended-scss": "5.0.2",
"stylelint-config-standard": "25.0.0",
"stylelint-scss": "4.1.0",
"terser-webpack-plugin": "5.3.1",
"thread-loader": "3.0.4",
"tslib": "2.4.0",
"webpack": "5.72.1",
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.9.2",
"webpack-dev-server": "4.11.1",
"webpack-merge": "5.8.0",
"webpack-notifier": "1.15.0",
"webpack-obfuscator": "3.5.1",
"webpack-subresource-integrity": "5.1.0",
"webpackbar": "5.0.2",
"workbox-webpack-plugin": "6.5.3"
},
"dependencies": {
"@emotion/css": "11.10.0",
"@fpjs-incubator/botd-agent": "0.1.24",
"@ppzp/noty": "0.0.4",
"@sentry/browser": "6.19.7",
"@sentry/tracing": "6.19.7",
"accessibility": "4.5.6",
"alertifyjs": "1.13.1",
"axios": "0.26.0",
"bowser": "2.11.0",
"core-js": "3.22.4",
"dialog-polyfill": "0.5.6",
"dompurify": "2.3.6",
"intl-messageformat": "9.13.0",
"intro.js": "3.0.1",
"lazysizes": "5.3.2",
"medium-zoom": "1.0.8",
"normalize.css": "8.0.1",
"pwacompat": "2.0.17",
"qrcode": "1.5.0",
"quicklink": "2.3.0",
"regenerator-runtime": "0.13.9",
"smooth-signature": "1.0.12",
"svgxuse": "1.2.6",
"sw-offline-google-analytics": "0.0.25",
"tippy.js": "6.3.7",
"toastifier": "1.2.2",
"toastify-js": "1.11.2",
"toastr": "2.1.4",
"viewerjs": "1.11.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/chendachao/chendachao.github.io.git"
},
"keywords": [
"Homepage",
"Larry Chen",
"Webpack"
],
"author": "chendachao",
"license": "MIT",
"bugs": {
"url": "https://github.com/chendachao/chendachao.github.io/issues"
}
}