UNPKG

2.25 kBJSONView Raw
1{
2 "name": "libhoney",
3 "version": "2.1.0",
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 "browser": "dist/libhoney.browser.js",
14 "module": "dist/libhoney.es.js",
15 "main": "dist/libhoney.cjs.js",
16 "files": ["dist", "README.md", "LICENSE"],
17 "scripts": {
18 "build": "yarn build:node && yarn build:browser",
19 "build:node": "rollup -c rollup.config.js",
20 "build:browser": "rollup -c rollup.browser.config.js",
21 "dev": "rollup -c -w",
22 "test": "jest",
23 "test-coverage": "jest --coverage",
24 "format": "prettier --write \"src/**/*.js\" rollup.config.js rollup.browser.config.js",
25 "check-format": "prettier \"src/**/*.js\" rollup.config.js rollup.browser.config.js",
26 "lint": "eslint \"src/**/*.js\" rollup.config.js rollup.browser.config.js",
27 "precommit": "lint-staged"
28 },
29 "author": "",
30 "license": "Apache-2.0",
31 "lint-staged": {
32 "*.{js,jsx}": ["prettier --parser flow --write", "eslint", "git add"],
33 "*.json": ["prettier --parser json --write", "git add"],
34 "*.{graphql,gql}": ["prettier --parser graphql --write", "git add"],
35 "*.{md,markdown}": ["prettier --parser markdown --write", "git add"],
36 "*.{css,scss}": ["prettier --parser css --write", "git add"]
37 },
38 "devDependencies": {
39 "@babel/core": "^7.4.0",
40 "@babel/preset-env": "^7.4.2",
41 "babel-eslint": "^10.0.3",
42 "babel-jest": "^24.5.0",
43 "babel-polyfill": "^6.26.0",
44 "eslint": "^6.5.1",
45 "husky": "^0.14.3",
46 "jest": "^24.5.0",
47 "jest-in-case": "^1.0.2",
48 "lint-staged": "^7.2.0",
49 "prettier": "^1.18.2",
50 "rollup": "^1.25.1",
51 "rollup-plugin-commonjs": "^10.1.0",
52 "rollup-plugin-json": "^4.0.0",
53 "rollup-plugin-node-resolve": "^5.2.0",
54 "rollup-plugin-replace": "^2.2.0",
55 "superagent-mocker": "^0.5.2"
56 },
57 "dependencies": {
58 "superagent": "^3.8.3",
59 "superagent-proxy": "^2.0.0",
60 "urljoin": "^0.1.5"
61 },
62 "resolutions": {
63 "https-proxy-agent": "^3.0.0"
64 },
65 "jest": {
66 "testPathIgnorePatterns": ["dist/", "/node_modules/"]
67 }
68}