occulto/package.json
2022-10-18 15:35:49 +02:00

64 lines
1.6 KiB
JSON

{
"name": "occulto",
"version": "2.0.0-rc.5",
"description": "crypt utility",
"repository": {
"type": "git",
"url": "https://github.com/CupCakeArmy/occulto"
},
"keywords": [
"isomorphic",
"crypto",
"aes",
"rsa"
],
"author": "Niccolo Borgioli",
"license": "MIT",
"engines": {
"node": ">=16",
"npm": "please-use-pnpm",
"yarn": "please-use-pnpm",
"pnpm": "7"
},
"type": "module",
"types": "./dist/esm/index.d.ts",
"exports": {
".": {
"types": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.cjs"
}
},
"files": [
"dist"
],
"scripts": {
"docs": "typedoc",
"test:node": "mocha",
"test:browser": "karma start .karma.cjs --single-run",
"test": "run-s build test:*",
"build:esm": "tsc -p tsconfig.esm.json",
"build:cjs": "tsc -p tsconfig.cjs.json && rename -S .js .cjs dist/cjs/**/*",
"build:rename": "./rename.sh",
"build": "run-s clean build:*",
"clean": "rm -rf ./dist",
"dev": "run-p -ln dev:*",
"dev:build": "tsc -w -p tsconfig.esm.json",
"dev:test:node": "mocha --parallel --watch",
"dev:test:browser": "karma start .karma.cjs",
"prepublishOnly": "run-s clean build"
},
"devDependencies": {
"@endyjasmi/karma-playwright-launcher": "^0.0.4",
"@types/node": "^16.11.66",
"chai": "^4.3.6",
"karma": "^6.4.1",
"karma-mocha": "^2.0.1",
"mocha": "^10.1.0",
"npm-run-all": "^4.1.5",
"playwright": "^1.27.1",
"typedoc": "^0.23.17",
"typescript": "^4.8.4"
}
}