UNPKG

1.97 kBJSONView Raw
1{
2 "name": "@aspecto/core",
3 "version": "1.1.17",
4 "description": "Aspecto metric collector",
5 "main": "dist/index.js",
6 "scripts": {
7 "start": "node .",
8 "build": "tsc",
9 "rebuild": "rm -rf dist && tsc",
10 "watch": "tsc -w",
11 "test": "jest",
12 "prepublishOnly": "yarn && yarn build",
13 "postinstall": "node scripts/createIdentifier.js",
14 "prettier": "prettier --config .prettierrc --write \"{src,tests,scripts}/**/*.{ts,tsx,js,jsx,json}\""
15 },
16 "repository": {
17 "type": "git",
18 "url": "git+ssh://git@gitlab.com/aspecto/aspecto-node-client.git"
19 },
20 "keywords": [],
21 "author": "",
22 "license": "ISC",
23 "bugs": {
24 "url": "https://gitlab.com/aspecto/aspecto-node-client/issues"
25 },
26 "homepage": "https://gitlab.com/aspecto/aspecto-node-client#readme",
27 "dependencies": {
28 "@aspecto/privacy-rules": "0.0.9",
29 "mimic-response": "^2.0.0",
30 "socket.io-client": "^2.3.0",
31 "uuid": "^3.3.2"
32 },
33 "devDependencies": {
34 "@types/cors": "^2.8.6",
35 "@types/express": "^4.17.2",
36 "@types/jest": "^24.0.23",
37 "@types/node": "^10.12.18",
38 "@types/pidusage": "^2.0.1",
39 "@types/request": "^2.48.3",
40 "@types/socket.io": "^2.1.2",
41 "@types/socket.io-client": "^1.4.32",
42 "@types/uuid": "^3.4.4",
43 "@types/ws": "^6.0.1",
44 "axios": "^0.19.0",
45 "cors": "^2.8.5",
46 "express": "^4.17.1",
47 "husky": "^2.1.0",
48 "jest": "^24.9.0",
49 "lint-staged": "^9.5.0",
50 "prettier": "^1.19.1",
51 "request": "^2.88.0",
52 "socket.io": "^2.2.0",
53 "ts-jest": "^24.2.0",
54 "typescript": "^3.7.3"
55 },
56 "husky": {
57 "hooks": {
58 "pre-push": "yarn test",
59 "pre-commit": "lint-staged"
60 }
61 },
62 "lint-staged": {
63 "*.{ts,tsx,js,jsx,json}": [
64 "prettier --write",
65 "git add"
66 ]
67 },
68 "jest": {
69 "preset": "ts-jest",
70 "testMatch": [
71 "**/tests/**/*.spec.+(ts|tsx|js)"
72 ],
73 "globals": {
74 "ts-jest": {
75 "diagnostics": false
76 }
77 }
78 }
79}
\No newline at end of file