mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-13 08:38:43 +03:00
Merge pull request #5025 from gregorytoprak/npm-pkg-fixes
npm: build ts -> js files before publishing
This commit is contained in:
commit
923e6683a6
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@urbit/api",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"description": "",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -10,6 +10,7 @@
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d",
|
||||
"scripts": {
|
||||
"prepublish": "npm run build",
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"watch": "onchange './**/*.ts' -e './dist/**' -- npm run build",
|
||||
"build": "npm run clean && tsc -p tsconfig.json",
|
||||
|
@ -5,7 +5,7 @@
|
||||
"outDir": "./dist",
|
||||
"module": "ES2020",
|
||||
"noImplicitAny": true,
|
||||
"target": "ES2020",
|
||||
"target": "ES2017",
|
||||
"pretty": true,
|
||||
"moduleResolution": "node",
|
||||
"esModuleInterop": true,
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@urbit/http-api",
|
||||
"version": "1.2.1",
|
||||
"version": "1.2.2",
|
||||
"license": "MIT",
|
||||
"description": "Library to interact with an Urbit ship over HTTP",
|
||||
"repository": {
|
||||
@ -15,6 +15,7 @@
|
||||
"src"
|
||||
],
|
||||
"scripts": {
|
||||
"prepublish": "npm run build",
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"watch": "onchange './*.ts' -- npm run build",
|
||||
"build": "npm run clean && tsc -p tsconfig.json",
|
||||
|
Loading…
Reference in New Issue
Block a user