mirror of
https://github.com/tlsnotary/tlsn-js.git
synced 2026-01-08 04:03:53 -05:00
75 lines
2.5 KiB
JSON
75 lines
2.5 KiB
JSON
{
|
|
"name": "tlsn-js",
|
|
"version": "v0.1.0-alpha.4.1",
|
|
"description": "",
|
|
"repository": "https://github.com/tlsnotary/tlsn-js",
|
|
"main": "build/index.js",
|
|
"types": "build/index.d.ts",
|
|
"files": [
|
|
"build/",
|
|
"src/",
|
|
"wasm/prover/pkg",
|
|
"readme.md"
|
|
],
|
|
"scripts": {
|
|
"build:test": "webpack --config webpack.web.dev.config.js",
|
|
"serve:test": "serve --config ../serve.json ./test-build -l 3001",
|
|
"build:src": "webpack --config webpack.build.config.js",
|
|
"build:types": "tsc --project tsconfig.compile.json",
|
|
"build": "NODE_ENV=production concurrently npm:build:src npm:build:types",
|
|
"update:wasm": "sh utils/check-wasm.sh -f",
|
|
"test:wasm": "cd wasm/prover; wasm-pack test --firefox --release --headless",
|
|
"build:wasm": "wasm-pack build --target web wasm/prover",
|
|
"watch:dev": "webpack --config webpack.web.dev.config.js --watch",
|
|
"predev": "sh utils/check-wasm.sh",
|
|
"lint:wasm": "cd wasm/prover; cargo clippy --target wasm32-unknown-unknown",
|
|
"dev": "concurrently npm:watch:dev npm:serve:test",
|
|
"lint:eslint": "eslint . --fix",
|
|
"lint:tsc": "tsc --noEmit",
|
|
"lint": "concurrently npm:lint:tsc npm:lint:eslint",
|
|
"run:test": "TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' mocha -r ts-node/register 'test/testRunner.ts'",
|
|
"test": "npm run build:test && npm run run:test"
|
|
},
|
|
"dependencies": {
|
|
"comlink": "^4.4.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/expect": "^24.3.0",
|
|
"@types/mocha": "^10.0.6",
|
|
"@types/serve-handler": "^6.1.4",
|
|
"@typescript-eslint/eslint-plugin": "^6.15.0",
|
|
"browserify": "^17.0.0",
|
|
"concurrently": "^5.1.0",
|
|
"constants-browserify": "^1.0.0",
|
|
"copy-webpack-plugin": "^5.0.5",
|
|
"crypto-browserify": "^3.12.0",
|
|
"eslint": "^8.47.0",
|
|
"eslint-config-prettier": "^9.0.0",
|
|
"eslint-plugin-prettier": "^5.0.0",
|
|
"file-loader": "^5.0.2",
|
|
"html-webpack-plugin": "~5.3.2",
|
|
"https-browserify": "^1.0.0",
|
|
"image-webpack-loader": "^6.0.0",
|
|
"mocha": "^10.2.0",
|
|
"node-loader": "^0.6.0",
|
|
"prettier": "^3.0.2",
|
|
"process": "^0.11.10",
|
|
"puppeteer": "^21.10.0",
|
|
"serve": "14.2.1",
|
|
"serve-handler": "^6.1.5",
|
|
"stream-browserify": "^3.0.0",
|
|
"ts-loader": "^6.2.1",
|
|
"ts-mocha": "^10.0.0",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^4.9.3",
|
|
"webpack": "^5.75.0",
|
|
"webpack-cli": "^5.0.0",
|
|
"webpack-dev-server": "^4.11.1",
|
|
"webpack-node-externals": "^3.0.0"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"engines": {
|
|
"node": ">= 16.20.2"
|
|
}
|
|
} |