@kiwicom/smart-faq
Version:
129 lines (128 loc) • 5.23 kB
JSON
{
"name": "@kiwicom/smart-faq",
"version": "v6.21.0",
"scripts": {
"prepublish": "yarn build",
"start": "webpack-dev-server --open --mode development --config ./webpack.stage.config.js --hot --inline",
"start:ci": "cross-env NODE_ENV=production LANGUAGE=en webpack-dev-server --mode production --config ./webpack.stage.config.js",
"build": "yarn clean && yarn build:lib && yarn nitro fetch && yarn nitro translations --path=../../node_modules/@kiwicom/translations/lib",
"build:bundle": "cross-env 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": "cross-env NODE_ENV=production webpack --mode production --entry ./src/${PROJECT}.js --output-filename ${PROJECT}.js --profile --json > .${PROJECT}Stats.json",
"build:SmartFAQ": "cross-env PROJECT=SmartFAQApp yarn build:project",
"build:ContactForm": "cross-env PROJECT=ContactFormApp 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",
"cypress:open": "cypress open &",
"cypress:run": "cypress run --browser chrome",
"cypress:run-ci": "cypress run --record false",
"deploy:surge:gitlab-ci": "surge -p ./build --domain https://smartfaq-${CI_COMMIT_REF_SLUG}.surge.sh",
"translations:keys": "yarn nitro keys \"../**/*.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",
"relay-fallbacks": "./scripts/fetchGraphQLFallbacks.sh",
"verify-relay-fallbacks": "./scripts/verifyGraphQLFallbacks.sh"
},
"main": "lib/SmartFAQApp.js",
"author": "kiwi.com",
"workspaces": {
"nohoist": [
"core-js",
"relay-compiler"
]
},
"devDependencies": {
"@babel/cli": "^7.4.3",
"@babel/core": "^7.4.3",
"@babel/node": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4",
"@babel/plugin-proposal-optional-chaining": "^7.2.0",
"@babel/plugin-transform-flow-comments": "^7.4.0",
"@babel/plugin-transform-modules-commonjs": "^7.4.3",
"@babel/plugin-transform-runtime": "^7.4.3",
"@babel/preset-env": "^7.4.3",
"@babel/preset-react": "^7.0.0",
"@kiwicom/babel-plugin-orbit-components": "^1.1.0",
"@kiwicom/orbit-components": "^0.40.1",
"@kiwicom/orbit-design-tokens": "^0.6.0",
"@kiwicom/translations": "^1.324.0",
"babel-jest": "^4.0.0",
"babel-loader": "^8.0.0",
"babel-plugin-id": "^1.0.1",
"babel-plugin-relay": "^3.0.0",
"babel-plugin-transform-assets-import-to-string": "^1.2.0",
"babel-plugin-wildcard": "^5.0.0",
"copy-webpack-plugin": "5.0.4",
"dot-json": "^1.1.0",
"dotenv": "^8.0.0",
"dotenv-webpack": "^1.7.0",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.7.1",
"enzyme-to-json": "^3.3.5",
"flow-bin": "^0.99.0",
"fs-extra": "8.1.0",
"glob-promise": "3.4.0",
"graphql": "0.13.2",
"graphql-cli": "3.0.12",
"html-loader": "^0.5.5",
"html-webpack-plugin": "3.2.0",
"i18next-scanner": "2.10.1",
"jest": "^24.7.1",
"jest-environment-jsdom": "^24.7.1",
"jest-environment-jsdom-global": "^1.2.0",
"js-cookie": "2.2.0",
"luxon": "^1.12.0",
"make-runnable": "^1.3.6",
"minimist": "1.2.0",
"mockdate": "^2.0.2",
"raven-js": "^3.25.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"regenerator-runtime": "^0.13.2",
"relay-compiler": "^5.0.0",
"relay-test-utils": "^5.0.0",
"request": "2.88.0",
"request-promise-native": "1.0.7",
"rimraf": "^2.6.3",
"surge": "^0.21.0",
"webpack": "4.1.0",
"webpack-bundle-analyzer": "^3.1.0",
"webpack-cli": "3.3.6",
"webpack-dev-server": "3.7.2"
},
"dependencies": {
"@babel/runtime": "^7.4.3",
"@kiwicom/nitro": "^5.7.0",
"@kiwicom/translations": "^1.324.0",
"classnames": "2.2.6",
"core-js": "^2.6.9",
"date-fns": "^1.30.1",
"history": "4.9.0",
"isomorphic-fetch": "2.2.1",
"libphonenumber-js": "^1.6.5",
"memoize-one": "^5.0.0",
"next-cookies": "^1.0.4",
"prop-types": "^15.6.2",
"react-container-dimensions": "^1.4.1",
"react-content-loader": "^4.0.0",
"react-event-listener": "^0.6.3",
"react-relay": "^5.0.0",
"react-responsive": "^7.0.0",
"react-router": "^5.0.0",
"react-router-dom": "^5.0.0",
"relay-runtime": "^5.0.0",
"styled-components": "^4.1.3",
"styled-jsx": "3.1.0",
"url-search-params-polyfill": "^7.0.0",
"uuid": "^3.3.2"
},
"peerDependencies": {
"@kiwicom/orbit-components": "^0.40.1",
"@kiwicom/orbit-design-tokens": "^0.6.0",
"react": "^16.8.6",
"react-dom": "^16.8.6"
}
}