-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
94 lines (94 loc) · 2.94 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "@hiro-graph/client",
"repository": "arago/hiro-graph-js",
"version": "7.5.23",
"types": "index.d.ts",
"description": "Javascript client for HIRO Graph REST API. Works in both node and browser.",
"main": "lib/index.js",
"scripts": {
"build": "rm -rf lib/* && BABEL_ENV=production babel src --out-dir lib --source-maps",
"prepublish": "yarn test && yarn build",
"test": "yarn lint && yarn build && jest --silent",
"test:ci": "yarn install --frozen-lockfile && yarn lint && yarn build && jest --silent --ci --reporters=default --reporters=jest-junit",
"format": "prettier 'src/*.{js,ts,tsx}' --write",
"lint-prettier": "prettier 'src/*.{js,ts,tsx}' --list-different",
"lint-eslint": "eslint src/",
"lint": "yarn lint-prettier && yarn lint-eslint",
"precommit": "yarn format"
},
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.15.4",
"isomorphic-fetch": "^3.0.0",
"qs": "^6.10.3",
"websocket": "^1.0.34"
},
"devDependencies": {
"@babel/cli": "^7.15.4",
"@babel/core": "^7.15.5",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-transform-regenerator": "^7.14.5",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/plugin-transform-spread": "^7.14.6",
"@babel/preset-env": "^7.15.6",
"@hiro-ui/eslint-config": "2.0.1",
"@hiro-ui/prettier-config": "2.0.0",
"@types/websocket": "^1.0.4",
"babel-jest": "^27.2.0",
"husky": "^4.3.8",
"jest": "^27.2.0",
"jest-junit": "^13.0.0",
"lint-staged": "^11.0.0",
"typescript": "^4.3.4"
},
"browserslist": [
"chrome >= 64",
"ie 11",
"edge >= 15"
],
"babel": {
"presets": [
[
"@babel/preset-env",
{
"modules": "commonjs"
}
]
],
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-transform-regenerator",
"@babel/plugin-transform-runtime"
]
},
"jest": {
"testPathIgnorePatterns": [
"<rootDir>[/\\\\](lib|node_modules)[/\\\\]"
],
"testEnvironment": "node",
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest"
}
},
"jest-junit": {
"suiteName": "@hiro-graph/client",
"outputDirectory": "reports",
"outputName": "hiro-graph-client.xml"
},
"publishConfig": {
"access": "public"
},
"eslintConfig": {
"extends": "@hiro-ui",
"rules": {
"no-sequences": "off"
}
},
"prettier": "@hiro-ui/prettier-config",
"lint-staged": {
"src/**/*.{js,ts,tsx}": [
"eslint --max-warnings 0"
]
}
}