1 | {
|
2 | "name": "redux-beacon",
|
3 | "version": "1.2.1",
|
4 | "description": "Analytics integration for Redux and ngrx/store",
|
5 | "main": "lib/index.js",
|
6 | "typings": "./index.d.ts",
|
7 | "files": [
|
8 | "dist",
|
9 | "extensions",
|
10 | "index.d.ts",
|
11 | "lib",
|
12 | "src",
|
13 | "targets",
|
14 | "utils"
|
15 | ],
|
16 | "scripts": {
|
17 | "test-api": "node ./test/run-api-test.js",
|
18 | "docs:prepare": "gitbook install",
|
19 | "docs:watch": "yarn run docs:prepare && gitbook serve",
|
20 | "docs:build": "yarn run docs:prepare && rm -rf _book && gitbook build",
|
21 | "docs:publish": "yarn run docs:build && cd _book && git init && git commit --allow-empty -m 'Update docs' && git checkout -b gh-pages && git add . && git commit -am 'Update docs' && git push git@github.com:rangle/redux-beacon gh-pages --force",
|
22 | "lint": "eslint src",
|
23 | "test": "yarn run lint && jest --watch && yarn run lint",
|
24 | "check": "yarn run lint && jest --coverage",
|
25 | "clean": "rm -rf lib dist extensions targets coverage utils _book",
|
26 | "prebuild": "yarn run clean",
|
27 | "build:cjs:main": "babel src/main --out-dir lib --ignore __tests__",
|
28 | "build:cjs:utils": "babel src/utils --out-dir utils --copy-files --ignore __tests__",
|
29 | "build:cjs:extensions": "babel src/extensions --out-dir extensions --copy-files --ignore __tests__",
|
30 | "build:cjs:targets": "babel src/targets --out-dir targets --copy-files --ignore __tests__",
|
31 | "build:cjs": "yarn run build:cjs:main && yarn run build:cjs:extensions && yarn run build:cjs:targets && yarn run build:cjs:utils",
|
32 | "build:umd:dev": "webpack",
|
33 | "build:umd:prod": "NODE_ENV=PRODUCTION webpack",
|
34 | "build": "yarn run build:cjs && yarn run build:umd:prod && yarn run build:umd:dev",
|
35 | "prepublish": "yarn run build"
|
36 | },
|
37 | "engines": {
|
38 | "node": ">=6.2.0"
|
39 | },
|
40 | "keywords": [
|
41 | "redux-beacon",
|
42 | "redux",
|
43 | "analytics",
|
44 | "redux-analytics",
|
45 | "redux-gtm",
|
46 | "google tag manager",
|
47 | "google analytics"
|
48 | ],
|
49 | "repository": {
|
50 | "type": "git",
|
51 | "url": "https://github.com/rangle/redux-beacon.git"
|
52 | },
|
53 | "license": "MIT",
|
54 | "devDependencies": {
|
55 | "babel-cli": "^6.18.0",
|
56 | "babel-loader": "^6.2.9",
|
57 | "babel-preset-latest": "^6.16.0",
|
58 | "consolemock": "^0.2.0",
|
59 | "eslint": "^3.8.1",
|
60 | "eslint-config-airbnb": "^12.0.0",
|
61 | "eslint-plugin-import": "^2.0.1",
|
62 | "eslint-plugin-jsx-a11y": "^2.2.3",
|
63 | "eslint-plugin-react": "^6.4.1",
|
64 | "fake-indexeddb": "^1.0.11",
|
65 | "fuzzy-equal": "^1.0.1",
|
66 | "gitbook-cli": "^2.3.0",
|
67 | "jest": "^20.0.0",
|
68 | "joi": "^10.5.2",
|
69 | "moment": "^2.17.1",
|
70 | "redux": "^3.6.0",
|
71 | "typescript": "^2.0.3",
|
72 | "typings-tester": "^0.2.2",
|
73 | "webpack": "^1.14.0"
|
74 | },
|
75 | "jest": {
|
76 | "testPathIgnorePatterns": [
|
77 | "<rootDir>/_book/",
|
78 | "<rootDir>/node_modules/",
|
79 | "__snapshots__"
|
80 | ],
|
81 | "collectCoverageFrom": [
|
82 | "src/**/*.js"
|
83 | ],
|
84 | "coverageThreshold": {
|
85 | "global": {
|
86 | "branches": 90,
|
87 | "functions": 90,
|
88 | "lines": 90,
|
89 | "statements": 90
|
90 | }
|
91 | }
|
92 | }
|
93 | }
|