-
Notifications
You must be signed in to change notification settings - Fork 59
/
package.json
69 lines (69 loc) · 1.66 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
{
"name": "avanza",
"version": "3.0.0",
"description": "A wrapper for the unofficial Avanza API",
"main": "dist/index.js",
"scripts": {
"start": "cross-env NODE_ENV=production babel lib -d dist",
"test": "npm start && cross-env NODE_ENV=test NODE_PATH=lib ava tests/**/*.test.js -s -c 1",
"lint": "eslint lib/**/* --max-warnings=0",
"docs": "npm start && node scripts/generate-documentation.js",
"prepublishOnly": "npm run lint"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fhqvst/avanza.git"
},
"author": "Filip Hallqvist <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/fhqvst/avanza/issues"
},
"files": [
"dist"
],
"homepage": "https://github.com/fhqvst/avanza#readme",
"dependencies": {
"ws": "^7.4.3"
},
"devDependencies": {
"@babel/cli": "^7.12.16",
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.16",
"ava": "^3.1.15",
"cross-env": "^7.0.3",
"documentation": "^13.1.1",
"dotenv": "^8.2.0",
"eslint": "^7.20.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-import": "^2.22.1",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"sinon": "^9.2.4"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "14.15.5"
}
}
]
]
},
"husky": {
"hooks": {
"pre-commit": "npm start && lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --max-warnings 0 --fix",
"prettier --config .prettierrc --write"
]
}
}