Add npm run compile to prepublish
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jerko Steiner 2020-01-10 12:31:58 +01:00
parent a5b1871cd8
commit e19a0e1c27
2 changed files with 9 additions and 5 deletions

View File

@ -10,10 +10,11 @@ steps:
- npm install
- npm run lint
- npm run bootstrap
- npm run compile:lib
- npm run test:ci
- npm run esm
- npm run compile:esm
---
kind: signature
hmac: 2a4dd894429afc6c3908a5d53cab57cac9a3918260a01e3f845db9aba53d6316
hmac: 234de0a22115096452d098a0e6397fec9f39a6706b1a5e556387b0a6e432ee71
...

View File

@ -2,10 +2,13 @@
"scripts": {
"clean": "lerna exec rimraf --stream -- lib/ esm/ *.tsbuildinfo",
"lint": "eslint --ext .ts,.tsx,.ts .",
"bootstrap": "ttsc --build packages/scripts && lerna exec rondo --stream -- build",
"esm": "lerna exec rondo --stream -- build --esm",
"bootstrap": "ttsc --build packages/scripts",
"compile": "npm run compile:lib && npm run compile:esm",
"compile:lib": "lerna exec rondo --stream -- build",
"compile:esm": "lerna exec rondo --stream -- build --esm",
"test:ci": "jest --roots '<rootDir>/lib' --testRegex '\\.test\\.js$' --testTimeout 15000",
"test": "jest"
"test": "jest",
"prepublish": "npm run compile"
},
"dependencies": {
"@rondo.dev/argparse": "file:packages/argparse",