-
Notifications
You must be signed in to change notification settings - Fork 490
/
.aegir.js
98 lines (89 loc) · 2.28 KB
/
.aegir.js
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
/** @type {import('aegir').PartialOptions} */
export default {
dependencyCheck: {
ignore: [
// actual production deps not getting recognized
'@loadable/component',
'@tableflip/react-dropdown',
'brace',
'chart.js',
'classnames',
'details-polyfill',
'internal-nav-helper',
'ipfs-css',
'ipld-explorer-components',
'is-ipfs',
'istextorbinary',
'prop-types',
'react-ace',
'react-chartjs-2',
'react-copy-to-clipboard',
'react-country-flag',
'react-debounce-render',
'react-dnd',
'react-helmet',
'react-hook-form',
'react-i18next',
'react-identicons',
'react-joyride',
'react-overlays',
'react-virtualized',
'redux-bundler-react',
'tachyons',
'uint8arrays',
// type-only deps
'ipfs',
// webpack deps
'crypto-browserify',
'os-browserify',
'path-browserify',
'stream-browserify',
'fake-indexeddb',
// test deps
'enzyme',
'enzyme-adapter-react-16',
'jest',
'jest-environment-jsdom', // in npm script via --env=jsdom
// storybook deps
'@storybook/addons', // for types
'@storybook/addon-a11y',
'@storybook/addon-actions',
'@storybook/addon-controls',
'@storybook/addon-coverage',
'@storybook/addon-essentials',
'@storybook/addon-links',
'@storybook/builder-webpack5', // storybookConfig.core.builder
'@storybook/core-common', // types
'@storybook/manager-webpack5', // implicit storybook dep
'@storybook/preset-create-react-app',
// npm scripts
'wait-on',
// github CI
'nyc',
'semantic-release'
],
developmentIgnorePatterns: [
'src/**/*.js',
'!.aegir.js',
'!.eslintrc.cjs',
'!config-overrides.js',
'!custom-release-notes-generator.cjs',
'!postcss.config.js',
'!**/*.test.js',
'!**/*.stories.js',
'!test/**',
'!src/setupTests.js'
],
productionIgnorePatterns: [
'.aegir.js',
'.eslintrc.cjs',
'config-overrides.js',
'custom-release-notes-generator.cjs',
'postcss.config.js',
'**/*.test.js',
'**/*.stories.js',
'test/**',
'src/setupTests.js'
]
}
}