package.json (2281B)
1 { 2 "name": "supercop", 3 "version": "3.0.3", 4 "description": "cross-compiled javascript implementation of ed25519 based on supercop-ref10", 5 "homepage": "https://github.com/finwo/supercop", 6 "main": "./dist/cjs/index.js", 7 "types": "./dist/cjs/index.d.ts", 8 "exports": { 9 ".": { 10 "import": { 11 "types": "./dist/esm/index.d.ts", 12 "default": "./dist/esm/index.mjs" 13 }, 14 "require": { 15 "types": "./dist/cjs/index.d.ts", 16 "default": "./dist/cjs/index.js" 17 } 18 } 19 }, 20 "scripts": { 21 "test": "npm run linter && npm run build && node_modules/.bin/tap --reporter-arg=--reporter=html --branches=50 --functions=90 --lines=98 --statements=81 'dist/test/**/*.test.js'", 22 "clean": "rm -rf ./dist", 23 "build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:test", 24 "build:wasm": "dep i && make", 25 "build:cjs": "tsc -p ./config/tsconfig.cjs.json", 26 "build:esm": "tsc -p ./config/tsconfig.esm.json && mv dist/esm/index.js dist/esm/index.mjs && mv dist/esm/index.js.map dist/esm/index.mjs.map", 27 "build:test": "tsc -p ./config/tsconfig.test.json", 28 "linter": "eslint src", 29 "postpublishOnly": "PACKAGE_VERSION=$(jq -r .version < package.json) && PACKAGE_NAME=$(jq -r .name < package.json) && npm deprecate \"${PACKAGE_NAME}@<${PACKAGE_VERSION}\" \"Rolling release, please update to ${PACKAGE_VERSION}\"", 30 "watch": "nodemon --watch src --watch test --ext ts --exec npm -- run build" 31 }, 32 "repository": { 33 "type": "git", 34 "url": "git+https://github.com/finwo/supercop.git" 35 }, 36 "author": "Yersa Nordman <finwo@pm.me>", 37 "license": "MIT", 38 "devDependencies": { 39 "@finwo/digest-pbkdf2": "^1.0.2", 40 "@types/node": "^20.2.5", 41 "@types/pbkdf2": "^3.1.0", 42 "@types/tap": "^15.0.8", 43 "@typescript-eslint/eslint-plugin": "^5.59.7", 44 "@typescript-eslint/parser": "^5.56.0", 45 "eslint": "^8.41.0", 46 "nodemon": "^2.0.22", 47 "pbkdf2": "^3.1.2", 48 "tap": "^16.3.4", 49 "typescript": "^4.9.5" 50 }, 51 "funding": { 52 "url": "https://github.com/sponsors/finwo" 53 }, 54 "files": [ 55 "dist/cjs", 56 "dist/esm", 57 "README.md", 58 "LICENSE" 59 ], 60 "keywords": [ 61 "ed25519", 62 "supercop", 63 "ref10", 64 "elliptic", 65 "curve", 66 "webassembly" 67 ] 68 }