Skip to content

Commit

Permalink
fix(package): add clean
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed Jun 23, 2018
1 parent c86c85a commit f2d2cbd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"test": "lerna run test",
"build": "lerna run build",
"clean": "lerna run clean",
"publish": "lerna publish --conventional-commits"
"publish": "lerna run clean && lerna publish --conventional-commits"
}
}
6 changes: 4 additions & 2 deletions packages/@jxa/global-type/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"url": "https://github.com/JXA-userland/JXA.git"
},
"scripts": {
"test": "tsc -p test/"
"test": "tsc -p test/",
"clean": "rimraf lib/"
},
"publishConfig": {
"access": "public"
Expand All @@ -42,6 +43,7 @@
"devDependencies": {
"@types/node": "^9.6.5",
"cross-env": "^5.1.4",
"rimraf": "^2.6.2",
"typescript": "^2.8.1"
}
}
}
2 changes: 1 addition & 1 deletion packages/@jxa/run/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@
"publishConfig": {
"access": "public"
}
}
}
6 changes: 4 additions & 2 deletions packages/@jxa/sdef-to-dts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"test": "mocha \"test/**/*.ts\"",
"updateSnapshot": "cross-env UPDATE_SNAPSHOT=1 mocha \"test/**/*.ts\"",
"prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
"watch": "tsc -p . --watch"
"watch": "tsc -p . --watch",
"clean": "rimraf lib/"
},
"publishConfig": {
"access": "public"
Expand All @@ -52,6 +53,7 @@
"cross-env": "^5.1.4",
"mocha": "^5.1.0",
"prettier": "^1.12.0",
"rimraf": "^2.6.2",
"ts-node": "^5.0.1",
"ts-node-test-register": "^2.0.0",
"typescript": "^2.8.1"
Expand All @@ -65,4 +67,4 @@
"is-var-name": "^2.0.0",
"json-schema-to-typescript": "^5.4.0"
}
}
}

0 comments on commit f2d2cbd

Please sign in to comment.