-
Notifications
You must be signed in to change notification settings - Fork 59
/
nodejs.txt
167 lines (135 loc) · 5.28 KB
/
nodejs.txt
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
156
157
158
159
160
161
162
163
164
165
166
167
https://segmentfault.com/a/1190000017158444
本地开发:npm run dev
本地预览:npm run start
构建:npm run build
部署:npm run deploy
web framework
https://github.com/just-js/just
NODEJS命令行工具(编写更好脚本的工具)
https://github.com/google/zx
https://github.com/fastify/fastify
https://github.com/gitpod-io/gitpod
https://github.com/snyk/snyk
https://github.com/Eugeny/tabby
https://tabby.sh/
https://github.com/prettier/prettier 代码格式化
https://github.com/typicode/husky Git钩子
https://github.com/okonet/lint-staged
https://github.com/editorconfig/
https://github.com/eslint/eslint
https://github.com/stylelint/stylelint
https://github.com/react-boilerplate/react-boilerplate
https://github.com/ant-design/ant-design-pro
https://github.com/zuiidea/antd-admin
https://github.com/PanJiaChen/vue-element-admin
https://github.com/kriasoft/react-starter-kit
https://github.com/facebook/create-react-app
https://github.com/senntyou/lila
https://github.com/requirejs/requirejs
https://en.wikipedia.org/wiki/Tree_shaking
https://webpack.js.org/guides/tree-shaking/
https://webpack.docschina.org/concepts/
https://blog.csdn.net/haodawang/article/details/77199980
https://en.wikipedia.org/wiki/Immediately_invoked_function_expression
https://en.wikipedia.org/wiki/Single-page_application
https://github.com/webpack/webpack
https://github.com/parcel-bundler/parcel
https://github.com/mui-org/material-ui
https://github.com/Semantic-Org/Semantic-UI
https://github.com/ElemeFE/element
https://github.com/iview/iview
https://github.com/airyland/vux
https://github.com/ElemeFE/mint-ui
https://github.com/react-bootstrap/react-bootstrap
https://github.com/bootstrap-vue/bootstrap-vue
https://github.com/Semantic-Org/Semantic-UI-React
https://github.com/Dogfalo/materialize
https://github.com/mui-org/material-ui
https://github.com/jgthms/bulma
https://github.com/sequelize/sequelize
https://github.com/facebook/react
https://github.com/vuejs/vue
https://github.com/angular/angular
https://github.com/css-modules/css-modules
https://github.com/webpack-contrib/css-loader
https://github.com/zeit/styled-jsx
https://github.com/cssinjs/jss
https://github.com/styled-components/styled-components
https://github.com/FormidableLabs/radium
https://github.com/emotion-js/emotion
https://github.com/Khan/aphrodite
https://github.com/styled-components/polished
https://github.com/paypal/glamorous
https://github.com/threepointone/glamor
https://github.com/styletron/styletron
https://github.com/MicheleBertoli/css-in-js
https://github.com/Microsoft/TypeScript
https://github.com/TypeStrong/ts-loader
https://github.com/less/less.js
https://github.com/sass/sass
https://github.com/jsdoc3/jsdoc
http://www.ruanyifeng.com/blog/2013/01/javascript_source_map.html
java -jar compiler.jar \
--js script.js \
--create_source_map ./script-min.js.map \
--source_map_format=V3 \
--js_output_file script-min.js
各个参数的意义如下:
- js: 转换前的代码文件
- create_source_map: 生成的source map文件
- source_map_format:source map的版本,目前一律采用V3。
- js_output_file: 转换后的代码文件。
- version:Source map的版本,目前为3。
- file:转换后的文件名。
- sourceRoot:转换前的文件所在的目录。如果与转换前的文件在同一目录,该项为空。
- sources:转换前的文件。该项是一个数组,表示可能存在多个文件合并。
- names:转换前的所有变量名和属性名。
- mappings:记录位置信息的字符串,下文详细介绍。
https://github.com/mozilla/source-map
https://github.com/mishoo/UglifyJS2
https://github.com/mishoo/UglifyJS2/tree/harmony
https://github.com/google/closure-compiler
https://github.com/google/closure-compiler-js
https://github.com/senntyou/sclean
https://github.com/facebook/jest
https://github.com/airbnb/enzyme
https://github.com/cypress-io/cypress
https://github.com/SeleniumHQ/selenium
https://github.com/GoogleChrome/puppeteer
npm install profiler tick -g
node --prof test.js
node-tick-processor v8.log
npm install -g lighthouse
lighthouse https://www.example.com/
lighthouse --help
lighthouse --view http://www.gtja.com/i/
npm install -g source-map-explorer
source-map-explorer bundle.min.js
source-map-explorer bundle.min.js bundle.min.js.map
source-map-explorer --json foo.min.js
{
"node_modules/browserify/node_modules/browser-pack/_prelude.js": 463,
"bar.js": 62,
"foo.js": 137
}
source-map-explorer --tsv foo.min.js
Source Size
dist/bar.js 62
dist/foo.js 137
source-map-explorer --html foo.min.js > tree.html
source-map-explorer foo.min.js --replace 'dist/' --with ''
npm install -g bundle-buddy
bundle-buddy my-app/public/*.map
npm install svg2uwptiles -g
svg2uwptiles
svg2uwptiles -i myIcon.svg
svg2uwptiles -i myIcon.svg -o "c:\assets"
https://docs.microsoft.com/zh-cn/windows/uwp/design/style/app-icons-and-logos
npm install -g electron-icon-maker
electron-icon-maker --input=/absolute/path/file.png --output=./relative/path/to/folder
./node_modules/.bin/electron-icon-maker --input=/absolute/path/file.png --output=./relative/path/to/folder
漂亮的面板
https://github.com/pipiliang/docker-dashboard
https://github.com/chjj/blessed
https://github.com/yaronn/blessed-contrib
https://github.com/inversify/InversifyJS