family-friendly/package.json

39 lines
1.1 KiB
JSON

{
"name": "family-friendly",
"version": "1.0.0",
"description": "Detect or mask out, bad words in a string",
"main": "dist/FamilyFriendly.js",
"engines": {
"node": "18.x"
},
"scripts": {
"build": "babel src -d dist --extensions \".ts,.tsx\"",
"start": "node dist/FamilyFriendly.js",
"dev": "nodemon src/FamilyFriendly.ts",
"test": "jest",
"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": {
"@babel/cli": "^7.23.4",
"@babel/core": "^7.23.7",
"@babel/preset-env": "^7.23.7",
"@babel/preset-typescript": "^7.23.3",
"@types/jest": "^29.5.11",
"@types/node": "^20.10.6",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"nodemon": "^3.0.2",
"prettier": "^3.1.1",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}