Skip to content

Commit

Permalink
Merge 01c6009 into 7952178
Browse files Browse the repository at this point in the history
  • Loading branch information
microshine committed Mar 21, 2023
2 parents 7952178 + 01c6009 commit a5a05e4
Show file tree
Hide file tree
Showing 4 changed files with 1,060 additions and 1,815 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/test.yml
Expand Up @@ -11,27 +11,19 @@ jobs:
node-version: [14.x, 16.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: yarn

- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install global dependencies
run: yarn add nyc coveralls -g

- name: Install dependencies
run: npm install
run: yarn

- name: Run linter
run: npm run lint
Expand Down
40 changes: 19 additions & 21 deletions package.json
Expand Up @@ -37,38 +37,36 @@
"url": "git+https://github.com/PeculiarVentures/webcrypto-liner"
},
"dependencies": {
"@peculiar/asn1-schema": "^2.1.6",
"@peculiar/asn1-schema": "^2.3.6",
"@peculiar/json-schema": "^1.1.12",
"@stablelib/sha3": "^1.0.1",
"asmcrypto.js": "^2.3.2",
"asn1js": "^3.0.2",
"core-js": "^3.22.5",
"asn1js": "^3.0.5",
"core-js": "^3.29.1",
"des.js": "^1.0.1",
"elliptic": "https://github.com/mahrud/elliptic",
"pvtsutils": "^1.3.2",
"tslib": "^2.4.0",
"webcrypto-core": "^1.7.5"
"tslib": "^2.5.0",
"webcrypto-core": "^1.7.7"
},
"devDependencies": {
"@babel/core": "^7.17.10",
"@babel/preset-env": "^7.17.10",
"@peculiar/webcrypto": "^1.4.0",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@types/mocha": "^9.1.1",
"@types/node": "^17.0.33",
"@babel/core": "^7.21.3",
"@babel/preset-env": "^7.20.2",
"@peculiar/webcrypto": "^1.4.2",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-node-resolve": "^15.0.1",
"@types/mocha": "^10.0.1",
"@types/node": "^18.15.5",
"babel-preset-minify": "^0.5.2",
"coveralls": "^3.1.0",
"mocha": "^10.0.0",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"rollup": "^2.72.1",
"mocha": "^10.2.0",
"rimraf": "^4.4.0",
"rollup": "^3.20.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.31.2",
"ts-node": "^10.7.0",
"rollup-plugin-typescript2": "^0.34.1",
"ts-node": "^10.9.1",
"tslint": "^6.1.3",
"typescript": "^4.6.4"
"typescript": "^5.0.2"
},
"keywords": [
"crypto",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js → rollup.config.mjs
Expand Up @@ -3,7 +3,7 @@ import { getBabelOutputPlugin } from "@rollup/plugin-babel";
import { terser } from "rollup-plugin-terser";
import typescript from "rollup-plugin-typescript2";
import commonjs from "@rollup/plugin-commonjs";
import pkg from "./package.json";
import pkg from "./package.json" assert { type: "json" };

const external = Object.keys(pkg.dependencies)
.concat(["crypto"]);
Expand Down

0 comments on commit a5a05e4

Please sign in to comment.