@kiwicom/orbit-components
Version:
Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com’s products.
138 lines (137 loc) • 4.92 kB
JSON
{
"name": "@kiwicom/orbit-components",
"version": "0.18.1",
"description": "Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com’s products.",
"scripts": {
"storybook": "start-storybook -p 6007 -c .storybook --ci",
"build": "yarn clean && yarn build:icons && yarn build:lib && yarn build:module",
"build:lib": "babel --out-dir lib --ignore **/*.stories.js,**/*.test.js,**/*.storyshot.js src && yarn copy:lib",
"build:module": "babel --presets @babel/react,@babel/flow --plugins babel-plugin-styled-components,@babel/plugin-proposal-nullish-coalescing-operator,@babel/plugin-proposal-optional-chaining,@babel/plugin-proposal-class-properties,@babel/plugin-proposal-object-rest-spread --no-babelrc --out-dir es --ignore **/*.stories.js,**/*.test.js,**/*.storyshot src && yarn copy:module",
"build:icons": "node config/build.js",
"build:storybook": "build-storybook -c .storybook -o .out",
"copy:lib": "copyfiles -u 1 src/**/*.md lib && copyfiles -u 1 src/**/*.js.flow lib",
"copy:module": "copyfiles -u 1 src/**/*.md es && copyfiles -u 1 src/**/*.js.flow es",
"clean": "rimraf lib es src/icons/*.js src/icons/*.js.flow",
"prepare": "npm run build",
"watch": "concurrently \"npm run build:lib -- --watch\" \"npm run build:module -- --watch\"",
"eslint": "eslint .",
"flow:check": "flow check",
"test": "jest --config=jest.json",
"test-ci": "yarn flow:check && yarn eslint && yarn test --ci",
"deploy:storybook": "storybook-to-ghpages",
"deploy:surge": "yarn surge .out/ https://orbit-components-$(git rev-parse --abbrev-ref HEAD | sed -e 's/[^a-zA-Z0-9]/-/g').surge.sh",
"deploy:updateURL": "yarn babel-node config/deploymentUtils.js updateLiveURL"
},
"storybook-deployer": {
"gitUsername": "GH Pages Bot",
"gitEmail": "hello@ghbot.com",
"commitMessage": "Deploy Storybook to GitHub Pages [skip ci]"
},
"repository": {
"type": "git",
"url": "https://github.com/kiwicom/orbit-components.git"
},
"keywords": [
"orbit",
"components",
"ui",
"library",
"component"
],
"files": [
"es",
"lib",
".babelrc",
".eslintrc",
".flowconfig",
"package.json",
"readme.md",
"yarn.lock"
],
"loki": {
"configurations": {
"chrome.laptop": {
"target": "chrome.docker",
"width": 1366,
"height": 768
},
"chrome.iphone7": {
"target": "chrome.docker",
"preset": "iPhone 7"
}
}
},
"main": "lib/index.js",
"module": "es/index.js",
"author": "kiwi.com",
"license": "MIT",
"peerDependencies": {
"react": "^16.6.0",
"react-dom": "^16.6.0",
"styled-components": "^4.0.3"
},
"dependencies": {
"@kiwicom/orbit-design-tokens": "^0.2.5"
},
"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-nullish-coalescing-operator": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/runtime": "^7.0.0",
"@octokit/rest": "^15.13.1",
"@sambego/storybook-styles": "^1.0.0",
"@storybook/addon-actions": "^4.0.4",
"@storybook/addon-knobs": "^4.0.4",
"@storybook/addon-storyshots": "^4.0.4",
"@storybook/react": "^4.0.4",
"@storybook/storybook-deployer": "^2.3.0",
"@svgr/core": "^2.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^9.0.0",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.4",
"babel-plugin-require-context-hook": "^1.0.0",
"babel-plugin-styled-components": "^1.8.0",
"camelcase": "^5.0.0",
"capitalize": "^1.0.0",
"copyfiles": "^2.1.0",
"enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.6.0",
"enzyme-to-json": "^3.3.3",
"eslint": "^5.0.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-prettier": "^3.0.0",
"eslint-plugin-flowtype": "^2.46.3",
"eslint-plugin-import": "^2.11.0",
"eslint-plugin-jest": "^21.15.1",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-react": "^7.7.0",
"flow-bin": "^0.85.0",
"glob": "^7.1.2",
"jest": "^23.3.0",
"jest-styled-components": "^6.2.1",
"jsdom": "^12.0.0",
"loki": "^0.13.0",
"make-runnable": "^1.3.6",
"mkdirp": "^0.5.1",
"prettier": "^1.12.1",
"react": "^16.6.0",
"react-dom": "^16.6.0",
"react-storybook-addon-chapters": "2.1.9",
"react-test-renderer": "^16.3.2",
"rimraf": "^2.6.2",
"styled-components": "^4.0.3",
"surge": "^0.20.1"
},
"resolutions": {
"@storybook/addons": "4.0.4"
}
}