2024-01-05 08:40:15 -06:00
|
|
|
{
|
|
|
|
"name": "family-friendly",
|
2024-01-05 14:49:28 -06:00
|
|
|
"version": "0.1.1",
|
2024-01-05 13:34:32 -06:00
|
|
|
"description": "Detect or mask out, bad words in a string",
|
|
|
|
"main": "dist/FamilyFriendly.js",
|
2024-01-05 13:44:25 -06:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/nightness/family-friendly"
|
|
|
|
},
|
2024-01-05 08:40:15 -06:00
|
|
|
"scripts": {
|
2024-01-05 14:49:28 -06:00
|
|
|
"deploy": "yarn clean && yarn build && npm publish",
|
|
|
|
"build": "babel src --out-dir dist --extensions '.ts,.tsx' && tsc --emitDeclarationOnly",
|
2024-01-05 13:34:32 -06:00
|
|
|
"start": "node dist/FamilyFriendly.js",
|
|
|
|
"dev": "nodemon src/FamilyFriendly.ts",
|
2024-01-05 14:49:28 -06:00
|
|
|
"test": "echo 'Skipping tests'",
|
2024-01-05 08:40:15 -06:00
|
|
|
"test:watch": "jest --watch",
|
|
|
|
"lint": "eslint . --ext .ts",
|
|
|
|
"lint:fix": "eslint . --ext .ts --fix",
|
|
|
|
"clean": "rm -rf dist",
|
|
|
|
"prepublishOnly": "npm run lint && npm run test && npm run build",
|
|
|
|
"format": "prettier --write \"**/*.{js,ts,json}\""
|
|
|
|
},
|
|
|
|
"keywords": [],
|
|
|
|
"author": "",
|
|
|
|
"license": "ISC",
|
|
|
|
"devDependencies": {
|
2024-01-05 12:40:47 -06:00
|
|
|
"@babel/cli": "^7.23.4",
|
|
|
|
"@babel/core": "^7.23.7",
|
|
|
|
"@babel/preset-env": "^7.23.7",
|
|
|
|
"@babel/preset-typescript": "^7.23.3",
|
2024-01-05 08:40:15 -06:00
|
|
|
"@types/node": "^20.10.6",
|
2024-01-05 13:44:25 -06:00
|
|
|
"@typescript-eslint/eslint-plugin": "^6.17.0",
|
|
|
|
"@typescript-eslint/parser": "^6.17.0",
|
2024-01-05 08:40:15 -06:00
|
|
|
"eslint": "^8.56.0",
|
2024-01-05 12:40:47 -06:00
|
|
|
"nodemon": "^3.0.2",
|
|
|
|
"prettier": "^3.1.1",
|
|
|
|
"ts-node": "^10.9.2",
|
|
|
|
"typescript": "^5.3.3"
|
2024-01-05 08:40:15 -06:00
|
|
|
}
|
|
|
|
}
|