娑婆梦
尘爱生娑婆,
浮云一场梦。
此门人已去,
苦苦执花红。
功名心有染,
利禄锁无形。
太山二两沉,
我身千斤重。
React.js
官方
第三方
文档
教程
编码规范
示例
- Mobile, desktop and website Apps with the same code
- Get started with React, Redux, and React-Router.
工具
- TooBug:webpack指南
- gajus/react-css-modules:Seamless mapping of class names to CSS modules inside of React components.
- Immutable persistent data collections for Javascript which increase efficiency and simplicity. - GitHub - Docs
- Relay is a JavaScript framework for building data-driven React applications. - GitHub
- A JavaScript library for efficient data fetching - GitHub
Vue.js
单元测试工具参考
单元测试
- karma-runner/gulp-karma:Example of using Karma with Gulp.
- jasmine/jasmine:DOM-less simple JavaScript testing framework - GitHub
- mocha - simple, flexible, fun javascript test framework for node.js & the browser. (BDD, TDD, QUnit styles via interfaces) - GitHub
QUnit 系列
- QUnit is a powerful, easy-to-use JavaScript unit testing framework.
- gulp-qunit:Run QUnit unit tests in a headless PhantomJS instance. - GitHub
代码覆盖率
- Istanbul - a JS code coverage tool written in JS - GitHub
- gulp-istanbul:Istanbul unit test coverage plugin for gulp. - GitHub
- coveralls:takes json-cov output into stdin and POSTs to coveralls.io - GitHub
- gulp-coveralls:Gulp plugin to submit code coverage to Coveralls - GitHub
辅助工具
残春
满天花雨梧桐落,
遍地春残柳絮飞。
茵茵绿树新装换,
不知人间变了谁?
Gulp 系统构建工作流
Gulp 构建平台
- gulp.js:the streaming build system - GitHub- 中文
- gulp.js plugin registry
- harmonize:Enables node’s –harmony flag programmatically. - GitHub
- gulp-load-plugins:Automatically load any gulp plugins in your package.json - GitHub
- requireDir:Node.js helper to require() directories.
- vinyl-source-stream:Use conventional text streams at the start of your gulp or vinyl pipelines - GitHub
- merge-stream:Merge multiple streams into one interleaved stream
Javascript 构建
- browserify: - GitHub
- watchify:watch mode for browserify builds - GitHub
- preprocessify:Browserify preprocess transform - GitHub
- babelify:Babel browserify transform - GitHub - Learn ES2015
- reactify:Browserify transform for JSX (a superset of JS used by React.js) - GitHub
- gulp-jshint:JSHint plugin for gulp - GitHub
- gulp-uglify:Minify files with UglifyJS. - GitHub
- gulp-mocha:Run Mocha tests - GitHub
- gulp-jest:Gulp plugin for running your Jest tests - GitHub - Jest
- gulp-coveralls:Gulp plugin to submit code coverage to Coveralls - GitHub
- SBoudrias/gulp-istanbul:Istanbul unit test coverage plugin for gulp. - GitHub
CSS 构建插件
- gulp-less:Less for Gulp - GitHub
- gulp-autoprefixer:Prefix CSS with Autoprefixer - GitHub
- gulp-minify-css:Minify css with clean-css. - GitHub
常见任务插件
- del:Delete files/folders using globs - GitHub
- gulp-concat:Streaming concat middleware for gulp - GitHub
- gulp-rename:Rename files - GitHub
- gulp-imagemin:Minify PNG, JPEG, GIF and SVG images - GitHub
- gulp-useref:Parse build blocks in HTML files to replace references to non-optimized scripts or stylesheets. - GitHub
- gulp-replace:A string replace plugin for gulp - GitHub
- gulp-preprocess:Gulp plugin to preprocess HTML, JavaScript, and other files based on custom context or environment configuration - GitHub
- gulp-htmlmin:gulp plugin to minify HTML - GitHub
- gulp-rev:Static asset revisioning by appending content hash to filenames: unicorn.css → unicorn-d41d8cd98f.css - GitHub
- gulp-rev-all:Static asset revisioning with dependency considerations, appends content hash to each filename - GitHub
任务控制插件
- browser-sync:Keep multiple browsers & devices in sync when building websites. - GitHub - 中文
- gulp-sync:sync for dependency tasks of gulp.task method - GitHub
- run-sequence:Run a series of dependent gulp tasks in order
- gulp-if:Conditionally run a task - GitHub
辅助插件
- gulp-plumber:Prevent pipe breaking caused by errors from gulp plugins - GitHub
- gulp-sourcemaps: - GitHub
- gulp-changed:Only pass through changed files - GitHub
- gulp-cached:A simple in-memory file cache for gulp - GitHub
- gulp-filter:Filter files in a vinyl stream - GitHub
- gulp-size:Display the size of your project - GitHub
- gulp-tap:Easiest way to tap into a pipeline - GitHub
- gulp-flatten:remove or replace relative path for files - GitHub
- gulp-exclude-gitignore:Gulp plugin to exclude file contained in .gitignore from the stream - GitHub
戏
台上一出戏,
生旦净末丑。
人间心腹事,
满面珠泪流。
感慨
唏嘘多感慨,
前生旧时路。
四大皆空性,
五蕴心不住。