47 lines
1.3 KiB
JSON
47 lines
1.3 KiB
JSON
{
|
|
"name": "@tryghost/parse-email-address",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"repository": "https://github.com/TryGhost/Ghost/tree/main/ghost/parse-email-address",
|
|
"author": "Ghost Foundation",
|
|
"license": "MIT",
|
|
"main": "build/index.js",
|
|
"types": "build/index.d.ts",
|
|
"scripts": {
|
|
"dev": "tsc --watch --preserveWatchOutput --sourceMap",
|
|
"build": "pnpm build:tsc",
|
|
"build:tsc": "tsc",
|
|
"test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --lines 100 --functions 100 --statements 100 --branches 80 --reporter text --reporter cobertura mocha --node-option import=tsx './test/**/*.test.ts'",
|
|
"test": "pnpm test:types && pnpm test:unit",
|
|
"test:types": "tsc --noEmit",
|
|
"lint:code": "eslint src/ --ext .ts --cache",
|
|
"lint": "pnpm lint:code && pnpm lint:test",
|
|
"lint:test": "eslint -c test/.eslintrc.js test/ --ext .ts --cache"
|
|
},
|
|
"files": [
|
|
"build"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "25.6.0",
|
|
"c8": "10.1.3",
|
|
"mocha": "11.7.5",
|
|
"sinon": "21.0.1",
|
|
"ts-node": "10.9.2",
|
|
"tsx": "4.21.0",
|
|
"typescript": "5.9.3"
|
|
},
|
|
"dependencies": {
|
|
"parse-email-address": "0.0.2"
|
|
},
|
|
"nx": {
|
|
"targets": {
|
|
"build": {
|
|
"outputs": ["{projectRoot}/build"]
|
|
}
|
|
}
|
|
}
|
|
}
|