40 lines
1.3 KiB
JSON
40 lines
1.3 KiB
JSON
{
|
|
"name": "family-friendly",
|
|
"version": "0.4.1",
|
|
"description": "Detect, replace, or mask out bad words in a string",
|
|
"main": "dist/FamilyFriendly.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/nightness/family-friendly"
|
|
},
|
|
"scripts": {
|
|
"deploy": "yarn clean && yarn build && npm publish --access public",
|
|
"build": "yarn clean && babel src --out-dir dist --extensions '.ts,.tsx' && tsc --emitDeclarationOnly",
|
|
"start": "yarn build && node dist/FamilyFriendly.js",
|
|
"dev": "nodemon src/FamilyFriendly.ts",
|
|
"test": "echo 'Skipping tests'",
|
|
"test:watch": "jest --watch",
|
|
"lint": "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/node": "^20.10.6",
|
|
"@typescript-eslint/eslint-plugin": "^6.17.0",
|
|
"@typescript-eslint/parser": "^6.17.0",
|
|
"eslint": "^8.56.0",
|
|
"nodemon": "^3.0.2",
|
|
"prettier": "^3.1.1",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.3.3"
|
|
}
|
|
}
|