add missing prepare scripts

This commit is contained in:
Florian Dold 2021-01-29 11:47:03 +01:00
parent 6732d252dc
commit ca2943b270
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
2 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@
"private": false, "private": false,
"scripts": { "scripts": {
"test": "tsc && ava", "test": "tsc && ava",
"prepare": "tsc && rollup -c && api-extractor run",
"compile": "tsc && rollup -c && api-extractor run", "compile": "tsc && rollup -c && api-extractor run",
"clean": "rimraf dist lib tsconfig.tsbuildinfo", "clean": "rimraf dist lib tsconfig.tsbuildinfo",
"pretty": "prettier --write src" "pretty": "prettier --write src"

View File

@ -5,6 +5,7 @@
"author": "Florian Dold", "author": "Florian Dold",
"license": "GPL-2.0+", "license": "GPL-2.0+",
"scripts": { "scripts": {
"prepare": "tsc",
"compile": "tsc" "compile": "tsc"
}, },
"devDependencies": { "devDependencies": {