/
package.json
73 lines (73 loc) · 1.93 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "revivejs",
"version": "1.1.0",
"description": "Javascript json deserializer library for reviving objects along with their prototype/behavior.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "Florin Mihalache <florin.mihalache@gmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/mflorin/revivejs.git"
},
"homepage": "https://github.com/mflorin/revivejs",
"bugs": {
"url": "https://github.com/mflorin/revivejs/issues",
"email": "florin.mihalache@gmail.com"
},
"scripts": {
"test": "mocha --config .mocharc.json src/**/*.test.ts",
"lint": "eslint src/**/*.ts --fix",
"format": "prettier --write \"src/**/*.ts\"",
"build": "rimraf ./dist && tsc --build tsconfig.prod.json",
"start": "npm run start:dev",
"start:dev": "nodemon --config .nodemonrc.json src/index.ts",
"start:prod": "npm run build && node dist/index.js",
"prepublishOnly": "npm run build && npm test && npm run lint",
"preversion": "npm test && npm run lint",
"postversion": "git push && git push --tags"
},
"files": [
"dist/**/*"
],
"keywords": [
"javascript",
"js",
"revive",
"serialize",
"deserialize",
"unmarshal",
"typescript",
"model",
"object"
],
"license": "MIT",
"devDependencies": {
"@types/chai": "^4.2.14",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.14",
"@typescript-eslint/eslint-plugin": "^4.10.0",
"@typescript-eslint/parser": "^4.10.0",
"chai": "^4.2.0",
"eslint": "^7.16.0",
"husky": "^4.3.6",
"lint-staged": "^10.5.3",
"mocha": "^8.2.1",
"nodemon": "^2.0.6",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"ts-node": "^9.1.1",
"typescript": "^4.1.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"post-commit": "git update-index --again"
}
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"git add"
]
}
}