UNPKG

@kiwicom/smart-faq

Version:

Smart FAQ

165 lines (164 loc) 6.56 kB
{ "name": "@kiwicom/smart-faq", "version": "5.28.4", "scripts": { "prepublish": "yarn build", "start": "webpack-dev-server --open --mode development --config ./webpack.stage.config.js", "start:ci": "NODE_ENV=production LANGUAGE=en webpack-dev-server --mode production --config ./webpack.stage.config.js", "build": "yarn clean && yarn build:lib && yarn nitro fetch", "build:bundle": "SENTRY_URL_STAGING=$SENTRY_URL_STAGING NODE_ENV=production webpack --mode production --config ./webpack.stage.config.js", "build:lib": "babel --out-dir lib --ignore *.test.js src --copy-files && yarn translations:keys && cp ./data/tkeys.json lib/translations", "build:static": "yarn build:SmartFAQ && yarn build:ContactForm", "build:project": "NODE_ENV=production webpack --mode production --entry ./src/${PROJECT}.js --output-filename ${PROJECT}.js --profile --json > .${PROJECT}Stats.json", "build:SmartFAQ": "PROJECT=SmartFAQApp yarn build:project", "build:ContactForm": "PROJECT=ContactFormChatApp yarn build:project", "webpack:analyzer": "webpack-bundle-analyzer .${PROJECT}Stats.json ./dist/ -r .${PROJECT}Stats.html -m static -O", "clean": "rimraf lib es dist build data/translations", "test": "jest --config=jest.config.js", "test:watch": "jest --config=jest.config.js --watch", "test-ci": "yarn flow && yarn eslint && yarn test && yarn relay --validate && yarn translations:check", "cypress:open": "cypress open &", "cypress:run": "cypress run --browser chrome", "cypress:run-ci": "cypress run --record false", "eslint": "eslint .", "eslint:fix": "eslint . --fix", "deploy:surge:gitlab-ci": "surge -p ./build --domain https://smartfaq-${CI_COMMIT_REF_SLUG}.surge.sh", "translations:keys": "yarn nitro keys \"./src/**/*.js\"", "translations:check": "node scripts/checkTranslations.js", "relay": "relay-compiler --src src/ --exclude 'src/.next/**' '**/node_modules/**' '**/test/**' '**/__generated__/**' --schema ./schema.graphql", "schema": "graphql get-schema dev", "commitmsg": "commitlint -E GIT_PARAMS", "semantic-commitlint": "semantic-commitlint", "semantic-release": "semantic-release", "relay-fallbacks": "./scripts/fetchGraphQLFallbacks.sh", "verify-relay-fallbacks": "./scripts/verifyGraphQLFallbacks.sh", "full-page-dev": "cd ./src && nodemon ./ssrServer.js", "full-page-staging": "cd ./src && node ./ssrServer.js" }, "main": "lib/SmartFAQApp.js", "author": "kiwi.com", "devDependencies": { "@babel/cli": "^7.0.0", "@babel/core": "^7.0.0", "@babel/node": "^7.0.0", "@babel/plugin-proposal-class-properties": "^7.0.0", "@babel/plugin-proposal-optional-chaining": "^7.2.0", "@babel/plugin-transform-flow-comments": "^7.0.0", "@babel/plugin-transform-modules-commonjs": "^7.0.0", "@babel/plugin-transform-runtime": "^7.0.0", "@babel/polyfill": "^7.0.0", "@babel/preset-env": "^7.0.0", "@babel/preset-react": "^7.0.0", "@commitlint/cli": "^7.0.0", "@commitlint/config-conventional": "^7.0.1", "@kiwicom/babel-plugin-orbit-components": "^1.1.0", "@kiwicom/orbit-components": "~0.34.1", "@kiwicom/orbit-design-tokens": "0.3.0", "@kiwicom/translations": "^1.191.0", "@octokit/rest": "^15.2.5", "@semantic-release/npm": "^5.0.4", "babel-core": "^7.0.0-bridge.0", "babel-eslint": "^9.0.0", "babel-jest": "^23.6.0", "babel-loader": "^8.0.0", "babel-plugin-id": "^1.0.1", "babel-plugin-relay": "2.0.0", "babel-plugin-transform-assets-import-to-string": "^1.2.0", "babel-plugin-wildcard": "^5.0.0", "copy-webpack-plugin": "4.5.1", "cypress": "^3.1.5", "cz-conventional-changelog": "^2.1.0", "dotenv": "5.0.1", "dotenv-webpack": "^1.5.5", "enzyme": "^3.8.0", "enzyme-adapter-react-16": "^1.7.1", "enzyme-to-json": "^3.3.5", "eslint": "^4.18.2", "eslint-config-airbnb": "^16.1.0", "eslint-config-prettier": "^2.9.0", "eslint-plugin-cypress": "^2.0.1", "eslint-plugin-flowtype": "^2.50.0", "eslint-plugin-import": "^2.9.0", "eslint-plugin-jest": "^21.13.0", "eslint-plugin-jsx-a11y": "^6.0.3", "eslint-plugin-prettier": "^2.6.0", "eslint-plugin-react": "^7.7.0", "flow-bin": "^0.93.0", "flow-copy-source": "^1.3.0", "flow-typed": "^2.3.0", "fs-extra": "5.0.0", "glob-promise": "3.3.0", "graphql": "0.13.2", "graphql-cli": "2.15.8", "html-loader": "^0.5.5", "html-webpack-plugin": "3.0.6", "husky": "^0.14.3", "i18next-scanner": "2.4.6", "jest": "^23.6.0", "jest-environment-jsdom": "^23.4.0", "jest-environment-jsdom-global": "^1.1.0", "js-cookie": "2.1.0", "luxon": "^1.10.0", "make-runnable": "^1.3.6", "minimist": "1.2.0", "mockdate": "^2.0.2", "npm-publish-git-tag": "^2.1.16", "prettier-eslint": "^8.8.1", "raven-js": "^3.25.2", "react": "^16.8.1", "react-dom": "^16.8.1", "regenerator-runtime": "^0.12.1", "relay-compiler": "^3.0.0", "request": "2.83.0", "request-promise-native": "1.0.5", "rimraf": "^2.6.2", "semantic-commitlint": "^1.3.2", "semantic-release": "^15.9.17", "styled-components": "^4.1.3", "surge": "^0.20.1", "webpack": "4.1.0", "webpack-bundle-analyzer": "^3.0.3", "webpack-cli": "2.0.10", "webpack-dev-server": "3.1.0" }, "dependencies": { "@babel/runtime": "^7.0.0-rc.3", "@jaredlunde/react-tree-walker": "^4.3.12", "@kiwicom/nitro": "^0.86.0", "classnames": "2.2.6", "date-fns": "^1.30.1", "express": "^4.16.4", "history": "4.7.2", "idx": "2.2.0", "isomorphic-fetch": "2.2.1", "libphonenumber-js": "^1.6.5", "markdown-it": "^8.4.1", "memoize-one": "^5.0.0", "next": "^7.0.2", "next-cookies": "^1.0.4", "prop-types": "^15.6.2", "react-container-dimensions": "^1.4.1", "react-content-loader": "^3.1.2", "react-event-listener": "^0.6.3", "react-relay": "^3.0.0", "react-responsive": "^4.1.0", "react-router": "^4.2.0", "react-router-dom": "^4.2.2", "relay-runtime": "^3.0.0", "styled-jsx": "^2.2.5", "url-search-params-polyfill": "4.0.1", "uuid": "^3.3.2" }, "peerDependencies": { "@kiwicom/orbit-components": "^0.26.0", "@kiwicom/orbit-design-tokens": "^0.3.0", "react": "^16.8.1", "react-dom": "^16.8.1", "styled-components": "^4.1.1" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } } }