forked from kiwicom/orbit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
139 lines (139 loc) · 4.88 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "@kiwicom/orbit-components",
"version": "0.36.0",
"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 -s ./static",
"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 -s ./static",
"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 --maxWorkers=2",
"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": "[email protected]",
"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"
],
"browserslist": [
"last 2 versions",
"Edge >= 38"
],
"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/js": "^0.2.0",
"@kiwicom/orbit-design-tokens": "^0.4.0"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.4",
"@babel/node": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.3.4",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.2.0",
"@babel/plugin-proposal-object-rest-spread": "^7.3.4",
"@babel/plugin-proposal-optional-chaining": "^7.2.0",
"@babel/preset-env": "^7.3.4",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/runtime": "^7.3.4",
"@octokit/rest": "^15.13.1",
"@sambego/storybook-styles": "^1.0.0",
"@storybook/addon-actions": "^4.1.13",
"@storybook/addon-knobs": "^4.1.13",
"@storybook/addons": "4.1.13",
"@storybook/react": "^4.1.13",
"@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": "^4.0.0",
"eslint-plugin-flowtype": "^3.4.2",
"eslint-plugin-import": "^2.11.0",
"eslint-plugin-jest": "^22.3.0",
"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": "3.0.3",
"react-test-renderer": "^16.8.3",
"rimraf": "^2.6.2",
"styled-components": "^4.0.3",
"surge": "^0.20.1"
}
}