-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
59 lines (59 loc) · 1.58 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"name": "profanity-js",
"version": "0.1.4",
"description": "A filter of swear words. 🤬",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"files": [
"dist/**/*"
],
"keywords": [
"words",
"profanity",
"swear",
"filter"
],
"author": "Rogério Araújo (rodgeraraujo)",
"repository": {
"type": "git",
"url": "git://github.com/rodgeraraujo/profanity.git"
},
"license": "MIT",
"scripts": {
"prestart": "npm run compile",
"pretest": "npm run compile",
"prepare": "npm run compile",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags",
"format": "prettier --write \"**/*.ts\" \"**/*.js\"",
"lint": "tslint --config tslint.json --project .",
"compile": "rimraf ./dist && tsc",
"test": "jest --verbose",
"test-coverage": "jest --forceExit --coverage --verbose",
"watch": "concurrently \"npm run watch-ts\" \"watch-test\"",
"watch-test": "npm run test --watchAll",
"watch-ts": "tsc -w"
},
"devDependencies": {
"@types/jest": "^26.0.14",
"@types/node": "^14.11.5",
"concurrently": "^5.3.0",
"husky": "^4.3.0",
"jest": "^26.5.2",
"nodemon": "^2.0.4",
"prettier": "^2.1.2",
"rimraf": "^3.0.2",
"ts-jest": "^26.4.1",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.0.3"
},
"dependencies": {},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm run format && npm run test"
}
}
}