forked from kiwicom/orbit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
155 lines (155 loc) · 5.72 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "@kiwicom/orbit-components",
"version": "0.74.0",
"description": "Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com’s products.",
"sideEffects": false,
"scripts": {
"storybook": "start-storybook -p 6007 -c .storybook --ci -s ./static",
"build": "yarn clean && yarn build:icons && yarn build:iconFont && yarn build:flowFiles && yarn build:lib && yarn build:module && yarn build:umd",
"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": "babel-node config/build.js",
"build:iconsPng": "node config/generatePngIcons.js",
"build:flowFiles": "babel-node config/flowFiles.js",
"build:iconFont": "babel-node config/createSVGFont.js && cd src/icons/; zip -r ../../orbit-svgs.zip ./svg; cd -; zip -j orbit-svgs.zip orbit-icons-font/orbit-icons.svg && zip -r orbit-icons-font.zip orbit-icons-font",
"build:storybook": "build-storybook -c .storybook -o .out -s ./static",
"build:umd": "webpack --mode=production",
"copy:lib": "copyfiles -u 1 'src/**/*.md' lib && copyfiles -u 1 'src/**/*.js.flow' lib && copyfiles -u 1 'src/**/*.json' lib",
"copy:module": "copyfiles -u 1 'src/**/*.md' es && copyfiles -u 1 'src/**/*.js.flow' es && copyfiles -u 1 'src/**/*.json' es",
"clean": "rimraf lib es src/icons/*.js src/icons/*.js.flow",
"prepare": "npm run build",
"prettier:fix": "prettier --write '**/*.md'",
"prettier:test": "prettier --check '**/*.md'",
"watch": "concurrently \"npm run build:lib -- --watch\" \"npm run build:module -- --watch\"",
"eslint": "eslint . --report-unused-disable-directives",
"flow:check": "flow check",
"test": "jest --config=jest.json",
"test-ci": "yarn flow:check && yarn eslint && yarn test --ci --maxWorkers=2 && yarn prettier:test",
"fetch-translations": "babel-node config/fetchTranslations.js",
"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",
"umd",
"orbit-icons-font",
"orbit-icons-font.zip",
"orbit-svgs.zip",
".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.12.0",
"react-dom": "^16.12.0",
"styled-components": "^4.2.0"
},
"dependencies": {
"@adeira/js": "^0.1.0",
"@kiwicom/orbit-design-tokens": "~0.8.0"
},
"devDependencies": {
"@adeira/babel-preset-adeira": "^0.3.0",
"@babel/cli": "^7.8.3",
"@babel/core": "^7.8.3",
"@babel/node": "^7.8.3",
"@babel/runtime": "^7.8.3",
"@emotion/core": "^10.0.27",
"@octokit/rest": "^15.13.1",
"@storybook/addon-actions": "^5.3.13",
"@storybook/addon-info": "5.3.13",
"@storybook/addon-knobs": "^5.3.13",
"@storybook/addons": "5.3.13",
"@storybook/react": "^5.3.12",
"@storybook/storybook-deployer": "^2.3.0",
"@svgr/core": "^2.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.6",
"babel-plugin-require-context-hook": "^1.0.0",
"babel-plugin-styled-components": "^1.10.6",
"camelcase": "^5.0.0",
"capitalize": "^1.0.0",
"copyfiles": "^2.2.0",
"dotenv": "^7.0.0",
"enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.6.0",
"enzyme-to-json": "^3.3.3",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^4.0.0",
"eslint-plugin-flowtype": "^4.6.0",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-jest": "^22.21.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.18.0",
"eslint-plugin-react-hooks": "^2.3.0",
"flow-bin": "^0.115.0",
"fs-extra": "^8.1.0",
"glob": "^7.1.2",
"isomorphic-unfetch": "^3.0.0",
"jest": "^24.9.0",
"jest-styled-components": "^6.2.1",
"jsdom": "^16.1.0",
"loki": "^0.15.0",
"make-runnable": "^1.3.6",
"mkdirp": "^1.0.3",
"prettier": "^1.12.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-element-to-jsx-string": "^14.3.0",
"react-test-renderer": "^16.12.0",
"rimraf": "^3.0.2",
"sharp": "^0.23.2",
"styled-components": "^4.2.0",
"surge": "^0.20.1",
"svg2ttf": "^4.2.0",
"svgicons2svgfont": "^9.0.4",
"ttf2woff2": "^3.0.0",
"webpack-cli": "^3.3.2"
}
}