Skip to content

Commit d49d43a

Browse files
committed
Adding Scripts
update scripts Update package.json Update package.json
1 parent b61e7b7 commit d49d43a

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

package.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@
2121
],
2222
"repository": "https://github.com/JunoLab/atom-julia-client",
2323
"license": "MIT",
24+
"scripts": {
25+
"typescript": "tsc -p ./lib_src/tsconfig.json",
26+
"prettier_src": "prettier --write ./lib_src/**/*.ts",
27+
"prettier_out": "prettier --write ./lib/misc/scopes.js",
28+
"build": "npm run typescript -s && npm run prettier_out -s",
29+
"lint": "eslint . --ext js,ts,coffee,json",
30+
"postinstall": "node script/postinstall.js"
31+
},
2432
"engines": {
2533
"atom": ">=1.39.0 <2.0.0"
2634
},
@@ -56,10 +64,6 @@
5664
"tslint": "latest",
5765
"tslint-config-prettier": "latest"
5866
},
59-
"scripts": {
60-
"postinstall": "node script/postinstall.js",
61-
"lint": "eslint . --ext js,ts,coffee"
62-
},
6367
"consumedServices": {
6468
"status-bar": {
6569
"versions": {
@@ -121,6 +125,7 @@
121125
"prettier": {
122126
"semi": false,
123127
"tabWidth": 2,
124-
"printWidth": 120
128+
"singleQuote": true,
129+
"printWidth": 80
125130
}
126131
}

0 commit comments

Comments
 (0)