Skip to content

Commit

Permalink
Merge pull request #187 from canway-bk/lesscode-develop
Browse files Browse the repository at this point in the history
init lesscode
  • Loading branch information
ielgnaw authored Apr 28, 2020
2 parents 0983a67 + 326bf8a commit 0b35a13
Show file tree
Hide file tree
Showing 2,930 changed files with 64,106 additions and 627,811 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,6 @@ open_paas_unittest
.DS_Store
.vscode/
# End of https://www.gitignore.io/api/python

# lesscode pre-commie
.pre-commit-config.yaml
42 changes: 42 additions & 0 deletions paas-ce/lesscode/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"presets": [
[
"@babel/preset-env",
{
"modules": "commonjs",
"targets": {
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"],
"node": "current"
},
"debug": false
}
]
],
"plugins": [
"@babel/plugin-transform-runtime",
"@babel/plugin-transform-object-assign",
"lodash",
"@babel/plugin-syntax-dynamic-import",
["@babel/plugin-proposal-decorators", { "legacy": true }],
"@babel/plugin-proposal-function-sent",
"@babel/plugin-proposal-export-namespace-from",
"@babel/plugin-proposal-numeric-separator",
"@babel/plugin-proposal-throw-expressions",
"@babel/plugin-transform-async-to-generator",
["babel-plugin-import-bk-magic-vue", { "baseLibName": "bk-magic-vue" }],
"transform-vue-jsx"
],
"env": {
"test": {
"presets": ["@babel/preset-env"],
"plugins": [
"istanbul",
["@babel/plugin-proposal-decorators", { "legacy": true }],
"@babel/plugin-proposal-function-sent",
"@babel/plugin-proposal-export-namespace-from",
"@babel/plugin-proposal-numeric-separator",
"@babel/plugin-proposal-throw-expressions"
]
}
}
}
2 changes: 2 additions & 0 deletions paas-ce/lesscode/.browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
last 2 versions
maintained node versions
2 changes: 2 additions & 0 deletions paas-ce/lesscode/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
static/
tippy/
Loading

0 comments on commit 0b35a13

Please sign in to comment.