0
Fork 0
mirror of https://github.com/penpot/penpot-export.git synced 2025-01-06 14:50:10 -05:00

build(core,cli): build TypeScript before packing

This commit is contained in:
Roberto Redradix 2023-09-15 19:00:55 +02:00
parent f5d3badde2
commit 7927ed8f98
2 changed files with 2 additions and 0 deletions

View file

@ -10,6 +10,7 @@
"penpot-export": "./dist/bin/index.js" "penpot-export": "./dist/bin/index.js"
}, },
"scripts": { "scripts": {
"prepack": "npm run build",
"build": "tsc", "build": "tsc",
"format": "prettier -w .", "format": "prettier -w .",
"dev": "tsc-watch" "dev": "tsc-watch"

View file

@ -8,6 +8,7 @@
"dist" "dist"
], ],
"scripts": { "scripts": {
"prepack": "npm run build",
"build": "tsc", "build": "tsc",
"pretest": "npm run build", "pretest": "npm run build",
"test": "node --test", "test": "node --test",