mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-04-25 11:52:23 +00:00
Release 1.0.0-rc2
This commit is contained in:
parent
69137a37e0
commit
73b33efe7f
2
.github/workflows/npm-publish.yml
vendored
2
.github/workflows/npm-publish.yml
vendored
@ -14,6 +14,8 @@ jobs:
|
||||
uses: actions/setup-node@master
|
||||
with:
|
||||
node-version: 12.4.0
|
||||
- name: Build library
|
||||
run: yarn install --frozen-lockfile && yarn run build
|
||||
- name: Publish if version has been updated
|
||||
uses: pascalgn/npm-publish-action@51fdb4531e99aac1873764ef7271af448dc42ab4
|
||||
with: # All of theses inputs are optional
|
||||
|
@ -1,7 +1,8 @@
|
||||
{
|
||||
"name": "libp2p-noise",
|
||||
"version": "1.0.0-rc1",
|
||||
"version": "1.0.0-rc2",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"module": "lib/index.js",
|
||||
"files": [
|
||||
"dist",
|
||||
@ -18,9 +19,10 @@
|
||||
],
|
||||
"scripts": {
|
||||
"prebuild": "rm -rf lib && rm -rf dist",
|
||||
"build": "yarn run build:node && yarn run build:web",
|
||||
"build": "yarn run build:node && yarn run build:web && yarn run build:types",
|
||||
"build:node": "babel --config-file ./babel.config.json src -x .ts -d dist --source-maps",
|
||||
"build:web": "babel --config-file ./babel.web.config.json src -x .ts -d lib --source-maps",
|
||||
"build:types": "tsc --declaration --outDir dist --emitDeclarationOnly",
|
||||
"check-types": "tsc --incremental --noEmit",
|
||||
"lint": "eslint --ext .ts src/",
|
||||
"pretest": "yarn check-types",
|
||||
|
Loading…
x
Reference in New Issue
Block a user