{
  "name": "@voluntarily/vly2",
  "version": "1.1.0",
  "description": "Voluntarily.nz Client based on Next.js",
  "author": "Andrew Watkins",
  "license": "MPL-2.0",
  "main": "server/server.js",
  "scripts": {
    "test": "npx cross-env NODE_ENV=test PORT=8080 ENV_ENVIRONMENT='development' ENV_SECRET='mwmBqNcTWiKxDHygMiKhwyffaKQCVoRQ' nyc --reporter=lcov --reporter=text ava",
    "test:root": "npx cross-env NODE_ENV=test PORT=8080 ENV_ENVIRONMENT='development' ENV_SECRET='mwmBqNcTWiKxDHygMiKhwyffaKQCVoRQ' nyc --reporter=lcov --reporter=text ava `find __tests__/ -name \"*.spec.js\"`",
    "test:server": "npx cross-env NODE_ENV=test PORT=8080 ENV_ENVIRONMENT='development' ENV_SECRET='mwmBqNcTWiKxDHygMiKhwyffaKQCVoRQ' nyc --reporter=lcov --reporter=text ava `find server/ -name \"*.spec.js\"`",
    "test:components": "npx cross-env NODE_ENV=test PORT=8080 ENV_ENVIRONMENT='development' ENV_SECRET='mwmBqNcTWiKxDHygMiKhwyffaKQCVoRQ' nyc --reporter=lcov --reporter=text ava `find components/ -name \"*.spec.js\"`",
    "test:lib": "npx cross-env NODE_ENV=test PORT=8080 ENV_ENVIRONMENT='development' ENV_SECRET='mwmBqNcTWiKxDHygMiKhwyffaKQCVoRQ' nyc --reporter=lcov --reporter=text ava `find lib/ -name \"*.spec.js\"`",
    "watch:test": "npm run test -- --watch",
    "end-to-end-test": "run-p -r dev testcafe-tests",
    "testcafe-tests": "wait-on -t 60000 -w 2000 -l http://localhost:3122 && node node_modules/testcafe/bin/testcafe.js --skip-js-errors firefox:headless systemtest/landing.test.js",
    "lint": "standard",
    "lint:next": "next lint",
    "lint:fix": "standard --fix",
    "dev": "cross-env ENV_ENVIRONMENT='development' ENV_SECRET='mwmBqNcTWiKxDHygMiKhwyffaKQCVoRQ' nodemon -w lang -w server -w package.json server/server.js",
    "build": "next build && npm run build:lang",
    "build:analyze": "ANALYZE=true next build && npm run build:lang",
    "build:lang": "npm run build:lang-extract && npm run build:lang-compile-en",
    "build:lang-extract": "formatjs extract $(find . -type f -name '*.js' ! -path './node_modules/*' ! -path './.next/*' ! -path './.storybook/*' ! -path './coverage/*' ! -path './docs/*' ! -path './x/*') --out-file lang/src.json --flatten --id-interpolation-pattern '[sha512:contenthash:base64:6]' ",
    "build:lang-compile-en": "formatjs compile 'lang/src.json' --out-file lang/en.json",
    "prod-build": "next build",
    "heroku-postbuild": "next build",
    "start": "NODE_ENV=production node --experimental-modules server/server.js",
    "start:local": "NODE_ENV=production ENV_ENVIRONMENT='development' ENV_SECRET='mwmBqNcTWiKxDHygMiKhwyffaKQCVoRQ' node server/server.js",
    "check-coverage": "nyc check-coverage --statements 90 --branches 90 --functions 90 --lines 90",
    "docker-test:build": "docker build -t vly-test:latest -f Dockerfile-test . ",
    "docker-test": "npm run docker-test:build && docker run vly-test:latest ",
    "remote": "APP_URL=http://$(ifconfig | grep -A 1 ‘en0’ | tail -1 | cut -d ' ' -f 2):3122 nodemon -w server -w package.json server/server.js",
    "storybook": "start-storybook -s ./public -p 6006",
    "build-storybook": "build-storybook",
    "mongo": "mongod --dbpath ./data",
    "pretest": "rimraf .test",
    "pretest-all": "rimraf .test",
    "posttest": "rimraf .test",
    "posttest-all": "rimraf .test",
    "e2e:tests": "npx codeceptjs run --tests -c e2e_tests/codecept.test.js",
    "e2e:features": "npx codeceptjs run --features -c e2e_tests/codecept.conf.js",
    "e2e:ci": "cross-env CI=TRUE npx codeceptjs run  --features -c e2e_tests/codecept.conf.js",
    "e2e:shell": "npx codeceptjs shell -c e2e_tests/codecept.conf.js"
  },
  "dependencies": {
    "@ant-design/compatible": "^1.0.8",
    "@ant-design/icons": "^4.7.0",
    "@babel/polyfill": "^7.8.3",
    "@casl/ability": "^5.4.3",
    "@casl/mongoose": "^5.0.0",
    "@mdx-js/loader": "^1.6.22",
    "@next/bundle-analyzer": "^11.1.2",
    "@next/mdx": "^11.1.2",
    "@storybook/addon-knobs": "^6.3.1",
    "@types/react-intl": "^3.0.0",
    "@uppy/core": "^2.1.0",
    "@uppy/react": "^2.1.0",
    "@uppy/webcam": "^2.0.3",
    "@voluntarily/mongoose-crudify": "^1.0.1",
    "accepts": "^1.3.7",
    "antd": "4.16.13",
    "auth0-js": "^9.16.4",
    "aws-sdk": "^2.1007.0",
    "babel-plugin-import": "^1.13.3",
    "babel-plugin-react-intl": "^5.1.18",
    "babel-plugin-styled-components": "^1.13.2",
    "cookie-parser": "^1.4.5",
    "cuid": "^2.1.8",
    "dotenv": "^10.0.0",
    "dotenv-expand": "^5.1.0",
    "email-templates": "^8.0.8",
    "eslint-plugin-html": "^6.2.0",
    "express": "^4.17.1",
    "fs-extra": "^10.0.0",
    "full-icu": "^1.4.0",
    "glob": "^7.2.0",
    "ical-generator": "^3.0.1",
    "intl": "^1.2.5",
    "isomorphic-fetch": "^3.0.0",
    "js-cookie": "^3.0.1",
    "js-sha256": "^0.9.0",
    "jsdom": "^18.0.0",
    "jsonwebtoken": "^8.5.1",
    "jwks-rsa": "^2.0.4",
    "jwt-decode": "^3.1.2",
    "less": "^4.1.2",
    "lodash": "^4.17.21",
    "lodash.pick": "^4.4.0",
    "markdown-to-jsx": "^7.1.3",
    "mock-express-request": "^0.2.2",
    "mock-express-response": "^0.3.0",
    "moment": "^2.29.2",
    "mongoose": "^5.13.9",
    "mongoose-id-validator": "^0.6.0",
    "morgan": "^1.10.0",
    "natural": "^5.1.1",
    "next": "latest",
    "next-redux-wrapper": "^7.0.5",
    "next-with-less": "^1.0.1",
    "node-cipher": "^6.3.3",
    "nodemailer": "^6.7.0",
    "nodemailer-mock": "^1.5.11",
    "pubsub-js": "^1.9.3",
    "quill": "1.3.7",
    "raygun": "^0.13.1",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "react-ga": "^3.3.0",
    "react-intl": "^5.20.12",
    "react-quill": "^2.0.0-beta.4",
    "react-redux": "^7.2.5",
    "react-share": "^4.4.0",
    "recharts": "^2.1.4",
    "redux": "^4.1.1",
    "redux-api": "^0.12.0",
    "redux-devtools-extension": "^2.13.9",
    "redux-thunk": "^2.3.0",
    "reselect": "^4.0.0",
    "rimraf": "^3.0.2",
    "run": "^1.4.0",
    "sanitize-html": "^2.5.2",
    "slug": "^5.1.0",
    "stopword": "^1.0.11",
    "string-similarity": "^4.0.4",
    "styled-components": "^5.3.1",
    "uuid": "^8.3.2"
  },
  "devDependencies": {
    "@ava/babel": "^2.0.0",
    "@babel/plugin-syntax-jsx": "^7.14.5",
    "@babel/register": "^7.15.3",
    "@codeceptjs/configure": "^0.7.0",
    "@formatjs/cli": "^4.3.1",
    "@istanbuljs/nyc-config-babel": "^3.0.0",
    "@testing-library/dom": "^8.9.0",
    "@wdio/selenium-standalone-service": "^7.14.1",
    "@wojtekmaj/enzyme-adapter-react-17": "^0.6.3",
    "ava": "^3.15.0",
    "axios": "^0.23.0",
    "babel-eslint": "^10.0.3",
    "babel-loader": "^8.2.2",
    "babel-plugin-istanbul": "^6.0.0",
    "codeceptjs": "^3.1.3",
    "codecov": "^3.8.3",
    "cross-env": "^7.0.3",
    "enzyme": "^3.11.0",
    "eslint": "^7.32.0",
    "eslint-config-next": "11.1.2",
    "fetch-mock": "^9.11.0",
    "mongodb-memory-server": "^7.4.3",
    "nodemon": "^2.0.13",
    "npm-run-all": "^4.1.5",
    "nyc": "^15.1.0",
    "objectid": "^3.2.1",
    "puppeteer": "^10.4.0",
    "redux-ava": "^2.2.0",
    "redux-mock-store": "^1.5.4",
    "sinon": "^11.1.2",
    "standard": "^16.0.4",
    "supertest": "^6.1.6",
    "testcafe": "^1.16.1",
    "testcafe-react-selectors": "^4.1.5",
    "wait-on": "^6.0.0",
    "webdriverio": "^7.14.1"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/voluntarily/vly2.git"
  },
  "bugs": {
    "url": "https://github.com/voluntarily/vly2/issues"
  },
  "homepage": "https://github.com/voluntarily/vly2#readme",
  "nyc": {
    "extends": "@istanbuljs/nyc-config-babel",
    "ignore-class-method": "GetInitialProps",
    "watermarks": {
      "lines": [
        80,
        95
      ],
      "functions": [
        80,
        95
      ],
      "branches": [
        80,
        95
      ],
      "statements": [
        80,
        95
      ]
    },
    "include": [
      "pages/**/*.js",
      "pages/api/*.js",
      "components/**/*.js",
      "server/**/*.js",
      "lib/**/*.js"
    ],
    "exclude": [
      "**/__tests__/**",
      "**/*.stories.js",
      "**/*.spec.js",
      "**/*.fixture.js",
      "**/*.init.js",
      "**/__init__/*.js",
      "server/util/*.js",
      "server/util/__tests__/*.js",
      "lib/react-intl-test*.js",
      "lib/auth/auth0.js",
      "server/config.js",
      "components/examples/**/*.js",
      "**/*-md.js",
      "pages/_*.js",
      "pages/test/**/*.js",
      "pages/todo.js",
      "pages/admin/admin.js",
      "pages/admin/goals/*.js",
      "pages/teachers/*.js",
      "pages/business/*.js",
      "pages/content/*.js",
      "server/api/image/cloudImageUpload.js",
      "server/services/email/email.js",
      "reference",
      "systemtest",
      "x",
      "public"
    ],
    "reporter": [
      "lcov",
      "text",
      "html"
    ]
  },
  "standard": {
    "plugins": [
      "html"
    ],
    "ignore": [
      "/e2e_tests/**/*.js"
    ],
    "parser": "babel-eslint"
  }
}
