Skip to content

Commit cdea936

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

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

package.json

Lines changed: 8 additions & 4 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/colors.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": {

0 commit comments

Comments
 (0)