-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
142 lines (142 loc) · 5.74 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
{
"name": "@unitedincome/components",
"description": "Component library for all United Income applications.",
"author": "United Income <[email protected]>",
"version": "2.0.2",
"main": "dist/index.js",
"types": "dist/components/index.d.ts",
"license": "MIT",
"scripts": {
"start": "start-storybook -p 9001 -c .storybook",
"build": "yarn buildTypes && yarn buildJs",
"buildTypes": "tsc --emitDeclarationOnly",
"buildJs": "webpack",
"typeCheck": "tsc --noEmit",
"typeCheckWatch": "yarn typeCheck -- --watch",
"snapshot": "build-storybook && percy-storybook --widths=320,1280 -s storybook-static",
"test": "yarn testSingle './{components,proptypes}/**/*.spec.{j,t}s{x,}' | faucet",
"testCI": "NODE_ENV=test nyc tape -r ./babelRegister.js -r ./utils-for-tests/configureEnzyme.js -r jsdom-global/register -r ignore-styles './{components,proptypes}/**/*.spec.{j,t}s{x,}' | tap-xunit > ./reports/tape/results.xml",
"testSingle": "NODE_ENV=test tape -r ./babelRegister.js -r ./utils-for-tests/configureEnzyme.js -r jsdom-global/register -r ignore-styles",
"coverage": "nyc report",
"buildStorybook": "build-storybook -c .storybook -o .build",
"lint": "eslint './components/**/*.{j,t}s{x,}' './proptypes/**/*.js' './.storybook/*.js' --cache && sass-lint -v -q && prettier -l './components/**/*.{j,t}s{x,}' './proptypes/**/*.js' && prettier -l './components/**/*.md' './*.md' --parser=markdown && prettier -l './components/**/*.mdx' './*.mdx' --parser=mdx && prettier -l './components/**/*.scss' './constants/sass/**/*.scss' './constants/sass/*.scss' --parser=scss || (echo need formatting, use yarn format ; exit 1)",
"format": "prettier --write './components/**/*.{j,t}s{x,}' './proptypes/**/*.js' './.storybook/*.js' && prettier --write './components/**/*.md' './*.md' --parser=markdown && prettier --write './components/**/*.mdx' './*.mdx' --parser=mdx && sass-lint-auto-fix && prettier --write './components/**/*.scss' './constants/sass/**/*.scss' './constants/sass/*.scss' --parser=scss",
"generate": "yarn hygen component new",
"mcgonagall": "yarn hygen mcgonagall new",
"browserstack": "yarn nightwatch -c nightwatch/config.js",
"dsm-storybook:publish": "NODE_ENV=dsm dsm-storybook publish",
"dsm-storybook:preview": "NODE_ENV=dsm dsm-storybook preview"
},
"homepage": "https://github.com/UnitedIncome/components",
"repository": {
"type": "git",
"url": "https://github.com/UnitedIncome/components.git"
},
"devDependencies": {
"@babel/core": "7.8.4",
"@babel/plugin-proposal-class-properties": "7.8.3",
"@babel/plugin-transform-runtime": "7.8.3",
"@babel/plugin-transform-spread": "7.8.3",
"@babel/preset-env": "7.8.6",
"@babel/preset-react": "7.8.3",
"@babel/preset-typescript": "7.8.3",
"@babel/register": "7.8.6",
"@babel/runtime": "7.8.7",
"@invisionapp/dsm-storybook": "^0.0.127",
"@istanbuljs/nyc-config-babel": "3.0.0",
"@percy/storybook": "3.2.0",
"@sambego/storybook-state": "1.3.6",
"@storybook/addon-a11y": "5.3.14",
"@storybook/addon-backgrounds": "5.3.13",
"@storybook/addon-docs": "5.3.13",
"@storybook/addon-knobs": "5.3.14",
"@storybook/addon-options": "5.3.14",
"@storybook/addon-viewport": "5.3.14",
"@storybook/addons": "5.3.13",
"@storybook/react": "5.3.14",
"@testing-library/react": "9.5.0",
"@types/classnames": "2.2.10",
"@types/enzyme": "3.10.5",
"@types/react-dom": "16.9.5",
"@types/sinon": "7.5.1",
"@types/tape": "4.2.34",
"@typescript-eslint/eslint-plugin": "2.22.0",
"@typescript-eslint/parser": "2.22.0",
"accounting": "0.4.1",
"airbnb-prop-types": "2.15.0",
"babel-loader": "8.0.6",
"babel-plugin-istanbul": "6.0.0",
"babel-plugin-module-resolver": "4.0.0",
"bootstrap": "4.4.1",
"classnames": "2.2.6",
"core-js": "3.6.4",
"css-loader": "3.4.2",
"d3-array": "=1.2.4",
"d3-interpolate": "1.4.0",
"d3-scale": "=2.2.2",
"d3-shape": "1.3.7",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.2",
"eslint": "6.8.0",
"eslint-config-prettier": "6.10.0",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-react": "7.19.0",
"eslint-plugin-react-hooks": "^2.5.0",
"faucet": "0.0.1",
"file-loader": "5.0.2",
"hygen": "5.0.3",
"ignore-styles": "5.0.1",
"isomorphic-fetch": "2.2.1",
"jsdom": "15.2.1",
"jsdom-global": "3.0.2",
"lodash": "4.17.15",
"mini-css-extract-plugin": "0.9.0",
"moment": "2.24.0",
"nightwatch": "1.3.4",
"node-sass": "4.13.1",
"nyc": "15.0.0",
"postcss-loader": "3.0.0",
"postcss-prefixer": "2.1.2",
"prettier": "1.19.0",
"prop-types": "15.7.2",
"query-string": "=5.1.1",
"rc-slider": "8.7.1",
"react": "16.13.0",
"react-beautiful-dnd": "10.1.1",
"react-docgen-typescript-loader": "3.7.0",
"react-dom": "16.13.0",
"react-required-if": "1.0.3",
"react-select": "3.0.8",
"react-spring": "8.0.27",
"react-table": "6.8.6",
"react-text-mask": "5.4.3",
"react-textarea-autosize": "7.1.2",
"react-tooltip": "4.1.0",
"sass-lint": "1.13.1",
"sass-lint-auto-fix": "0.21.0",
"sass-loader": "8.0.2",
"sinon": "9.0.0",
"style-loader": "1.1.3",
"tap-xunit": "2.4.1",
"tape": "4.13.2",
"text-mask-addons": "3.8.0",
"typescript": "3.8.3",
"webpack": "4.42.0",
"webpack-cli": "3.3.11",
"xstate": "4.7.8"
},
"peerDependencies": {
"accounting": "0.4.1",
"classnames": "2.2.6",
"lodash": "4.17.15",
"moment": "2.24.0",
"prop-types": "15.7.2",
"query-string": "<6.0.0",
"react": "16.13.0",
"react-dom": "16.13.0",
"react-spring": "8.0.27",
"react-text-mask": "5.4.3",
"react-tooltip": "4.1.0",
"xstate": "4.7.8"
}
}