-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
148 lines (148 loc) · 4.82 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
{
"name": "@wework-dev/plasma",
"version": "0.1.11",
"description": "",
"main": "dist/index.js",
"module": "lib/index.js",
"scripts": {
"lint": "./node_modules/.bin/eslint src/components/**/*.jsx",
"pack": "NODE_ENV=production webpack --config webpack.config.prod -p",
"build:lib": "rm -rf lib && yarn build:lib:only",
"build:lib:only": "NODE_ENV=production webpack --config webpack.config.prod && yarn build:lib:index",
"build:lib:index": "babel ./src/index.js -o lib/index.js",
"build:dist": "rm -rf dist && NODE_ENV=production webpack --config webpack.config.dist -p",
"build": "npm-run-all --parallel build:*",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook -c .storybook -o docs/storybook",
"prettier": "prettier --write \"src/**/*.{js,jsx}\" \"stories/**/*.{js,jsx}\"",
"prettier:ci": "prettier -l \"src/**/*.{js,jsx}\" \"stories/**/*.{js,jsx}\"",
"styleguide": "styleguidist server",
"styleguide:build": "styleguidist build",
"watch": "webpack --watch --config webpack.config.dev",
"prepublish": "npm-run-all --parallel build flow:buildTypeDefs:pretty",
"test": "node_modules/.bin/jest",
"test:watch": "yarn test --watch --coverage",
"test:update": "yarn test --updateSnapshot",
"test:coverage": "yarn test --coverage --coverageReporters=text-lcov",
"flow:coverage": "flow-coverage-report --config .flow-coverage.config.json --strict-coverage",
"flow:buildTypeDefs": "node ./scripts/buildFlowTypeDefs.js > flow/plasma_vx.x.x.js",
"flow:buildTypeDefs:pretty": "yarn flow:buildTypeDefs && npx prettier --write flow/plasma_vx.x.x.js"
},
"lint-staged": {
"*.{js,jsx}": [
"yarn flow:buildTypeDefs",
"prettier --write",
"eslint --fix",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn lint-staged && yarn flow"
}
},
"author": "WeWork",
"license": "ISC",
"devDependencies": {
"@storybook/addon-actions": "^3.1.9",
"@storybook/addon-links": "^3.1.6",
"@storybook/react": "^3.4.8",
"anchorate": "^1.1.0",
"babel-cli": "^6.24.1",
"babel-core": "^6.10.4",
"babel-eslint": "8.2.6",
"babel-jest": "^23.4.2",
"babel-loader": "^6.2.4",
"babel-plugin-lodash": "^3.2.11",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.8.0",
"babel-plugin-transform-runtime": "^6.9.0",
"babel-preset-env": "^1.5.2",
"babel-preset-es2015": "^6.24.1",
"babel-preset-flow": "^6.23.0",
"babel-preset-react": "^6.24.1",
"babel-register": "^6.9.0",
"babel-runtime": "^6.9.2",
"base64-image-loader": "^1.2.0",
"classnames": "^2.2.5",
"css-loader": "^0.23.1",
"enzyme": "3.7.0",
"enzyme-adapter-react-16": "1.7.0",
"eslint": "5.13.0",
"eslint-config-airbnb": "17.1.0",
"eslint-config-prettier": "4.0.0",
"eslint-plugin-flowtype": "4.3.0",
"eslint-plugin-import": "2.14.0",
"eslint-plugin-jsx-a11y": "6.2.0",
"eslint-plugin-prettier": "3.1.0",
"eslint-plugin-react": "7.13.0",
"extract-text-webpack-plugin": "3.0.2",
"flow-bin": "0.107.0",
"fs-promise": "^0.5.0",
"glob": "^7.0.5",
"globby": "10.0.1",
"husky": "1.3.1",
"identity-obj-proxy": "^3.0.0",
"image-webpack-loader": "^3.2.0",
"jest": "^23.4.2",
"jest-cli": "^22.0.6",
"jscodeshift": "0.6.4",
"jsdom": "^11.1.0",
"lint-staged": "8.1.1",
"lodash": "^4.14.1",
"marked": "^0.3.6",
"mkdirp": "^0.5.1",
"node-sass": "4.12.0",
"prettier": "1.16.1",
"proxy-middleware": "^0.15.0",
"react": "16.6.3",
"react-datepicker": "1.8.0",
"react-docgen-fixed": "^2.9.1",
"react-dom": "16.6.3",
"react-hot-loader": "^3.0.0-beta.6",
"react-styleguidist": "6.4.0",
"react-test-renderer": "^16.0.0",
"regenerator-runtime": "^0.10.5",
"resolve-url-loader": "^1.6.0",
"sass-loader": "^4.0.0",
"style-loader": "^0.13.1",
"url-loader": "^0.5.7",
"uuid": "^3.1.0",
"webpack": "3.12.0",
"yarn-run-all": "^3.1.1"
},
"dependencies": {
"react-select": "2.4.2"
},
"peerDependencies": {
"classnames": "2.2.5",
"lodash": ">= 4.14 < 5",
"react": ">=16.6 < 17",
"react-datepicker": "1.8.0",
"react-dom": ">=16.6 < 17"
},
"jest": {
"testEnvironment": "node",
"modulePaths": [
"/shared/vendor/modules"
],
"moduleFileExtensions": [
"js",
"jsx"
],
"moduleDirectories": [
"node_modules",
"bower_components",
"shared"
],
"moduleNameMapper": {
"^config$": "<rootDir>/configs/app-config.js",
"\\.(css|scss)$": "identity-obj-proxy",
"\\.(gif|ttf|eot|svg)$": "<rootDir>/src/tests/__mocks__/fileMock.js"
},
"setupFiles": [
"<rootDir>/src/tests/setup.js"
],
"testURL": "http://localhost"
}
}