UNPKG

1.92 kBJSONView Raw
1{
2 "name": "libhoney",
3 "version": "2.0.1",
4 "description": " Honeycomb.io Javascript library",
5 "bugs": "https://github.com/honeycombio/libhoney-js/issues",
6 "repository": {
7 "type": "git",
8 "url": "https://github.com/honeycombio/libhoney-js.git"
9 },
10 "engines": {
11 "node": "8.* || >= 10.*"
12 },
13 "module": "dist/libhoney.es.js",
14 "main": "dist/libhoney.cjs.js",
15 "files": ["dist", "README.md", "LICENSE"],
16 "scripts": {
17 "build": "rollup -c",
18 "dev": "rollup -c -w",
19 "test": "jest",
20 "test-coverage": "jest --coverage",
21 "format": "prettier --write \"src/**/*.js\"",
22 "check-format": "prettier \"src/**/*.js\"",
23 "lint": "eslint \"src/**/*.js\"",
24 "precommit": "lint-staged"
25 },
26 "author": "",
27 "license": "Apache-2.0",
28 "lint-staged": {
29 "*.{js,jsx}": ["prettier --parser flow --write", "eslint", "git add"],
30 "*.json": ["prettier --parser json --write", "git add"],
31 "*.{graphql,gql}": ["prettier --parser graphql --write", "git add"],
32 "*.{md,markdown}": ["prettier --parser markdown --write", "git add"],
33 "*.{css,scss}": ["prettier --parser css --write", "git add"]
34 },
35 "devDependencies": {
36 "@babel/core": "^7.4.0",
37 "@babel/preset-env": "^7.4.2",
38 "babel-jest": "^24.5.0",
39 "babel-polyfill": "^6.26.0",
40 "eslint": "^6.5.1",
41 "husky": "^0.14.3",
42 "jest": "^24.5.0",
43 "jest-in-case": "^1.0.2",
44 "lint-staged": "^7.2.0",
45 "prettier": "^1.18.2",
46 "rollup": "^1.25.1",
47 "rollup-plugin-commonjs": "^10.1.0",
48 "rollup-plugin-json": "^4.0.0",
49 "rollup-plugin-node-resolve": "^5.2.0",
50 "rollup-plugin-replace": "^2.2.0",
51 "superagent-mocker": "^0.5.2"
52 },
53 "dependencies": {
54 "superagent": "^3.8.3",
55 "superagent-proxy": "^2.0.0",
56 "urljoin": "^0.1.5"
57 },
58 "resolutions": {
59 "https-proxy-agent": "^3.0.0"
60 },
61 "jest": {
62 "testPathIgnorePatterns": ["dist/", "/node_modules/"]
63 }
64}