Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit 284b585

Browse files
author
steelbrain
committed
🆕 Add ucompilerrc
1 parent 73672bf commit 284b585

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.ucompilerrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"plugins": ["babel"],
3+
"rules": [{
4+
"path": "src/*.js",
5+
"outputPath": "lib/{name}.js",
6+
"babel": {
7+
"presets": ["steelbrain"]
8+
}
9+
}]
10+
}

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"atom": ">0.50.0"
1111
},
1212
"scripts": {
13-
"lint": "eslint ."
13+
"lint": "eslint .",
14+
"compile": "ucompiler go"
1415
},
1516
"dependencies": {
1617
"atom-linter": "^3.4.0",
@@ -26,7 +27,8 @@
2627
"eslint-config-steelbrain": "latest",
2728
"eslint-plugin-import": "^0.11.0",
2829
"eslint-plugin-react": "^3.10.0",
29-
"shelljs": "^0.5.3"
30+
"shelljs": "^0.5.3",
31+
"babel-preset-steelbrain": "^1.0.0"
3032
},
3133
"package-deps": [
3234
"linter"

0 commit comments

Comments
 (0)