-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 3.18 正式版1.1 opt: 启动配置优化 opt:修复开发环境启动cpu占用异常问题。(node 子进程启动http server 不知道为什么cpu就会被大量占用,现改成直接命令启动) opt:修改启动打印日志方便快速访问 opt:build 整理,webpack ie 8 兼容设置 opt:定位ie 8 兼容问题点,require 异步加载js时,在ie 8 中编辑直接出错,ie9 中 加入es6-promise后能够解决。 opt:ie8 开发环境调试完毕,在xp ie8中还存在问题 promise为定义 opt: 整理项目,移除过期文件;加入测试环境依赖 opt: 确定最终目录结构 opt: 兼容ie8样式,修复路径,静态资源放入static,dev可用 add: 引入已封装的自定义layui组件 opt:调整自定义layui组件资源路径,layui能够正常使用 opt:css 分模块打包; opt:引入h5boilerplate 相关兼容性包 (css、js)
- Loading branch information
Showing
242 changed files
with
15,499 additions
and
1,001 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"presets": [ | ||
[ | ||
"env", | ||
{ | ||
"targets": { | ||
"browsers": [ | ||
"ie>=8", | ||
"chrome>=49" | ||
] | ||
}, | ||
"loose": true, | ||
"modules": false, | ||
"debug": false, | ||
"uglify": false, | ||
"useBuiltIns": true | ||
} | ||
], | ||
"es2015-loose", | ||
"stage-0" | ||
], | ||
"plugins": [ | ||
[ | ||
"transform-runtime", | ||
{ | ||
"corejs": false, | ||
"helpers": false, | ||
"polyfill": false, | ||
"regenerator": true | ||
} | ||
] | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,33 @@ | ||
// https://eslint.org/docs/user-guide/configuring | ||
// const rules = require('./eslint/rules'); | ||
module.exports = { | ||
root: true, | ||
parser: "babel-eslint", | ||
parserOptions: { | ||
ecmaVersion: 6, | ||
sourceType: 'module', | ||
}, | ||
env: { | ||
browser: true, | ||
// mocha: true, | ||
es6: true, | ||
node: true, | ||
amd: true, | ||
// jasmine: false | ||
}, | ||
globals: { | ||
describe: false, | ||
it: false, | ||
afterEach:false | ||
}, | ||
extends: [ | ||
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention | ||
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules. | ||
// 'plugin:vue/essential', | ||
// https://github.com/standard/standard/blob/master/docs/RULES-en.md | ||
'eslint:recommended', | ||
'djcps' | ||
], | ||
// required to lint *.vue files | ||
plugins: [ | ||
"html", | ||
"import", | ||
"json", | ||
"node", | ||
"promise" | ||
], | ||
// add your custom rules here | ||
rules: {} | ||
root: true, | ||
env: { | ||
browser: true, | ||
node: true | ||
}, | ||
globals: { | ||
describe: false, | ||
it: false, | ||
afterEach: false, | ||
'jQuery': true, | ||
'$': true, | ||
'layui': true | ||
}, | ||
extends: [ | ||
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention | ||
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules. | ||
// 'plugin:vue/essential', | ||
// https://github.com/standard/standard/blob/master/docs/RULES-en.md | ||
'eslint:recommended', | ||
'djcps' | ||
], | ||
plugins: [ | ||
"html", | ||
"json", | ||
"node", | ||
"promise" | ||
], | ||
// add your custom rules here | ||
rules: {} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,5 @@ node_modules | |
package-lock.json | ||
.idea | ||
temp_views | ||
src/compileViews | ||
dist | ||
/bin/config/dev.config.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// https://github.com/michael-ciniawsky/postcss-load-config | ||
|
||
module.exports = { | ||
"plugins": { | ||
"postcss-import": {}, | ||
"postcss-url": {}, | ||
// to edit target browsers: use "browserslist" field in package.json | ||
"autoprefixer": {} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.