mirror of
https://github.com/github/codeql-action.git
synced 2025-12-27 01:30:10 +08:00
42 lines
1.2 KiB
JSON
42 lines
1.2 KiB
JSON
{
|
|
"name": "stable-hash",
|
|
"version": "0.0.4",
|
|
"description": "Stable JS value hash.",
|
|
"repository": "https://github.com/shuding/stable-hash",
|
|
"author": "Shu Ding",
|
|
"license": "MIT",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
"require": "./dist/index.js",
|
|
"import": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"files": [
|
|
"dist/**"
|
|
],
|
|
"devDependencies": {
|
|
"@types/jest": "^28.1.3",
|
|
"base64-url": "^2.3.3",
|
|
"esbuild": "^0.12.28",
|
|
"flattie": "^1.1.0",
|
|
"hash-obj": "^4.0.0",
|
|
"jest": "^28.1.1",
|
|
"json-stringify-deterministic": "^1.0.7",
|
|
"nanobench": "^2.1.1",
|
|
"prettier": "^2.7.1",
|
|
"ts-jest": "^28.0.5",
|
|
"typescript": "^4.7.4"
|
|
},
|
|
"prettier": {
|
|
"semi": false
|
|
},
|
|
"scripts": {
|
|
"build:mjs": "esbuild src/index.ts --minify --target=es6 --outdir=dist --out-extension:.js=.mjs",
|
|
"build:cjs": "esbuild src/index.ts --minify --target=es6 --outdir=dist --format=cjs",
|
|
"build:types": "tsc --emitDeclarationOnly --declaration -p tsconfig.build.json",
|
|
"build": "yarn build:mjs && yarn build:cjs && yarn build:types",
|
|
"test": "jest"
|
|
}
|
|
} |