diff --git a/.drone.yml b/.drone.yml index 7f464de..a543adc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 ... diff --git a/package.json b/package.json index 380b037..284aa09 100644 --- a/package.json +++ b/package.json @@ -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 '/lib' --testRegex '\\.test\\.js$' --testTimeout 15000", - "test": "jest" + "test": "jest", + "prepublish": "npm run compile" }, "dependencies": { "@rondo.dev/argparse": "file:packages/argparse",