@papillonarts/setup 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1 -0
  3. package/babel/index.js +8 -0
  4. package/eslint/index.js +69 -0
  5. package/jest/config.js +33 -0
  6. package/jest/index.js +19 -0
  7. package/jest/setup.js +22 -0
  8. package/package.json +33 -0
  9. package/prettier/index.js +9 -0
  10. package/storybook/index.js +12 -0
  11. package/storybook/setup/mainSetup.js +259 -0
  12. package/stylelint/index.js +18 -0
  13. package/webpack/constant/index.js +20 -0
  14. package/webpack/index.js +202 -0
  15. package/webpack/loader/babelLoader.js +31 -0
  16. package/webpack/loader/cssLoader.js +20 -0
  17. package/webpack/loader/fontLoader.js +14 -0
  18. package/webpack/loader/imageLoader.js +14 -0
  19. package/webpack/loader/markdownLoader.js +20 -0
  20. package/webpack/loader/postCSSLoader.js +22 -0
  21. package/webpack/loader/sassLoader.js +20 -0
  22. package/webpack/loader/svgrLoader.js +25 -0
  23. package/webpack/plugin/bannerPlugin.js +16 -0
  24. package/webpack/plugin/cleanWebpackPlugin.js +31 -0
  25. package/webpack/plugin/copyWebpackPlugin.js +24 -0
  26. package/webpack/plugin/cssMinimizerWebpackPlugin.js +13 -0
  27. package/webpack/plugin/dotenvWebpack.js +35 -0
  28. package/webpack/plugin/hotModuleReplacementPlugin.js +13 -0
  29. package/webpack/plugin/htmlWebpackPlugin.js +42 -0
  30. package/webpack/plugin/miniCSSExtractPlugin.js +23 -0
  31. package/webpack/plugin/moduleConcatenationPlugin.js +13 -0
  32. package/webpack/plugin/webpackBundleAnalyzer.js +15 -0
  33. package/webpack/plugin/webpackManifestPlugin.js +21 -0
  34. package/webpack/server/devServer.js +22 -0
  35. package/webpack/setup/commonSetup.js +37 -0
  36. package/webpack/setup/developmentSetup.js +50 -0
  37. package/webpack/setup/productionSetup.js +55 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2023 MTS.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1 @@
1
+ <h1 align="center">Papillon Arts Setup</h1>
package/babel/index.js ADDED
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+
3
+ module.exports = {
4
+ presets: ['@babel/preset-env', '@babel/preset-react'],
5
+ plugins: ['@babel/plugin-proposal-class-properties', '@babel/plugin-proposal-nullish-coalescing-operator', '@babel/plugin-proposal-object-rest-spread', '@babel/plugin-proposal-optional-catch-binding', '@babel/plugin-proposal-optional-chaining', '@babel/plugin-syntax-dynamic-import', '@babel/plugin-transform-classes', ['@babel/plugin-transform-react-jsx', {
6
+ runtime: 'automatic'
7
+ }], '@babel/plugin-transform-runtime', '@babel/plugin-transform-spread', 'syntax-async-functions']
8
+ };
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+
3
+ module.exports = {
4
+ env: {
5
+ amd: true,
6
+ browser: true,
7
+ commonjs: true,
8
+ es2020: true,
9
+ jasmine: true,
10
+ jest: true,
11
+ mocha: true,
12
+ node: true
13
+ },
14
+ "extends": ['eslint:recommended', 'plugin:import/errors', 'plugin:import/warnings', 'airbnb', 'airbnb/hooks', 'plugin:react/recommended', 'plugin:jsx-a11y/recommended', 'plugin:jest/recommended', 'prettier'],
15
+ globals: {
16
+ document: false,
17
+ expect: false,
18
+ jest: false,
19
+ jsdom: true,
20
+ renderMount: false,
21
+ renderShallow: false
22
+ },
23
+ parser: '@babel/eslint-parser',
24
+ parserOptions: {
25
+ ecmaFeatures: {
26
+ jsx: true
27
+ },
28
+ ecmaVersion: 12,
29
+ sourceType: 'module'
30
+ },
31
+ plugins: ['react', 'react-hooks', 'jsx-a11y', 'jest', 'prettier'],
32
+ rules: {
33
+ 'comma-dangle': 2,
34
+ 'import/named': 2,
35
+ 'import/no-extraneous-dependencies': [0, {
36
+ devDependencies: ['**/*.test.js', '**/*.story.js']
37
+ }],
38
+ 'import/prefer-default-export': 'off',
39
+ 'import/no-relative-packages': 'off',
40
+ 'jsx-a11y/accessible-emoji': 0,
41
+ 'object-curly-spacing': 2,
42
+ 'prettier/prettier': 'error',
43
+ 'react-hooks/exhaustive-deps': 'warn',
44
+ 'react-hooks/rules-of-hooks': 'error',
45
+ 'react/jsx-boolean-value': 0,
46
+ 'react/jsx-filename-extension': [2, {
47
+ extensions: ['.js', '.jsx']
48
+ }],
49
+ 'react/jsx-fragments': 0,
50
+ 'react/jsx-props-no-spreading': 0,
51
+ 'react/jsx-uses-react': 'off',
52
+ 'react/react-in-jsx-scope': 'off',
53
+ semi: ['error', 'never']
54
+ },
55
+ settings: {
56
+ 'import/resolver': {
57
+ alias: {
58
+ map: [['@papillonarts/components', '@papillonarts/components/build']],
59
+ extensions: ['.js']
60
+ },
61
+ node: {
62
+ extensions: ['.js', '.jsx']
63
+ }
64
+ },
65
+ react: {
66
+ version: '18.2.0'
67
+ }
68
+ }
69
+ };
package/jest/config.js ADDED
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getJestSetup = getJestSetup;
7
+ function getJestSetup(_ref) {
8
+ var testPathIgnorePatterns = _ref.testPathIgnorePatterns,
9
+ coverageDirectory = _ref.coverageDirectory,
10
+ collectCoverage = _ref.collectCoverage,
11
+ collectCoverageFrom = _ref.collectCoverageFrom,
12
+ coverageThreshold = _ref.coverageThreshold;
13
+ return {
14
+ testMatch: ['**/?(*.)test.js?(x)'],
15
+ testPathIgnorePatterns: testPathIgnorePatterns,
16
+ roots: ['<rootDir>'],
17
+ transform: {
18
+ '^.+\\.jsx?$': 'babel-jest',
19
+ '^.+\\.mdx$': '@storybook/addon-docs/jest-transform-mdx'
20
+ },
21
+ coverageDirectory: coverageDirectory,
22
+ collectCoverage: collectCoverage,
23
+ coverageReporters: ['lcov', 'text'],
24
+ collectCoverageFrom: collectCoverageFrom,
25
+ setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
26
+ moduleNameMapper: {
27
+ '\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|md)$': '<rootDir>/.mock/file.js',
28
+ '^.+\\.(css|less|scss|md)$': 'identity-obj-proxy'
29
+ },
30
+ moduleFileExtensions: ['js', 'jsx'],
31
+ coverageThreshold: coverageThreshold
32
+ };
33
+ }
package/jest/index.js ADDED
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "getJestSetup", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _config.getJestSetup;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "runJestSetup", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _setup.runJestSetup;
16
+ }
17
+ });
18
+ var _config = require("./config");
19
+ var _setup = require("./setup");
package/jest/setup.js ADDED
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.runJestSetup = runJestSetup;
7
+ require("jsdom-global/register");
8
+ var _react = require("@testing-library/react");
9
+ var _jestAxe = require("jest-axe");
10
+ function runJestSetup() {
11
+ global.renderToJSON = function (component) {
12
+ return (0, _react.render)(component).container;
13
+ };
14
+ global.axe = (0, _jestAxe.configureAxe)({
15
+ rules: {
16
+ region: {
17
+ enabled: false
18
+ }
19
+ }
20
+ });
21
+ expect.extend(_jestAxe.toHaveNoViolations);
22
+ }
package/package.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "@papillonarts/setup",
3
+ "version": "0.1.0",
4
+ "description": "Papillon Arts Setup",
5
+ "homepage": "https://github.com/papillonarts/papillonarts/tree/master/packages/setup",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/papillonarts/papillonarts.git",
9
+ "directory": "packages/setup"
10
+ },
11
+ "main": "build/index.js",
12
+ "module": "src/index.js",
13
+ "files": [
14
+ "babel/",
15
+ "eslint/",
16
+ "jest/",
17
+ "prettier/",
18
+ "storybook/",
19
+ "stylelint/",
20
+ "webpack/",
21
+ "README.md"
22
+ ],
23
+ "scripts": {
24
+ "clean-up": "rm -rf build node_modules package-lock.json",
25
+ "install-packages": "npm i",
26
+ "install-papillonarts-latest": "echo \"setup skipping install-papillonarts-latest\" && exit 0",
27
+ "build": "rm -rf build && babel --copy-files --no-copy-ignored --out-dir build src --ignore **/__tests__",
28
+ "build-test": "npm run build",
29
+ "build-acceptance": "npm run build",
30
+ "build-release": "npm run build"
31
+ },
32
+ "gitHead": "54b32a7d2fd6b05906764bb2633ae16171ff3c48"
33
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+
3
+ module.exports = {
4
+ tabWidth: 2,
5
+ semi: false,
6
+ singleQuote: true,
7
+ printWidth: 140,
8
+ trailingComma: 'all'
9
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "getStorybookMainSetup", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _mainSetup.getStorybookMainSetup;
10
+ }
11
+ });
12
+ var _mainSetup = require("./setup/mainSetup");
@@ -0,0 +1,259 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.getStorybookMainSetup = getStorybookMainSetup;
8
+ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
9
+ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
10
+ var _object = require("@papillonarts/library/object");
11
+ /* eslint-disable no-unused-vars */
12
+ /* eslint-disable no-param-reassign */
13
+ /* eslint-disable global-require */
14
+
15
+ function getStorybookMainSetup(_ref) {
16
+ var _webpackFinal;
17
+ var storiesBasePath = _ref.storiesBasePath,
18
+ includeBasePath = _ref.includeBasePath,
19
+ modulesBasePath = _ref.modulesBasePath;
20
+ // https://storybook.js.org/docs/react/api/main-config
21
+ return {
22
+ // https://storybook.js.org/docs/react/configure/frameworks
23
+ framework: {
24
+ name: '@storybook/react-webpack5',
25
+ options: {
26
+ fastRefresh: false,
27
+ strictMode: false,
28
+ legacyRootApi: false
29
+ }
30
+ },
31
+ // https://storybook.js.org/docs/react/api/main-config-stories
32
+ stories: [storiesBasePath],
33
+ // https://storybook.js.org/docs/react/api/main-config-addons
34
+ // https://storybook.js.org/docs/react/addons/introduction
35
+ // https://storybook.js.org/integrations
36
+ addons: [
37
+ // https://storybook.js.org/addons/@storybook/addon-a11y
38
+ '@storybook/addon-a11y',
39
+ // included by default in @storybook/addon-essentials
40
+ // https://storybook.js.org/docs/react/essentials/actions
41
+ // https://storybook.js.org/addons/@storybook/addon-actions
42
+ // '@storybook/addon-actions',
43
+
44
+ // included by default in @storybook/addon-essentials
45
+ // https://storybook.js.org/docs/react/essentials/backgrounds
46
+ // https://storybook.js.org/addons/@storybook/addon-backgrounds
47
+ // '@storybook/addon-backgrounds',
48
+
49
+ // https://storybook.js.org/addons/chromatic
50
+ // chromatic
51
+
52
+ // included by default in @storybook/addon-essentials
53
+ // https://storybook.js.org/docs/react/essentials/controls
54
+ // https://storybook.js.org/addons/@storybook/addon-controls
55
+ // '@storybook/addon-controls',
56
+
57
+ // https://storybook.js.org/addons/storybook-addon-designs
58
+ // storybook-addon-designs
59
+
60
+ // included by default in @storybook/addon-essentials
61
+ // https://storybook.js.org/docs/react/essentials/docs (404)
62
+ // https://storybook.js.org/addons/@storybook/addon-docs
63
+ // {
64
+ // name: '@storybook/addon-docs',
65
+ // options: {
66
+ // jsxOptions: {},
67
+ // csfPluginOptions: null,
68
+ // mdxPluginOptions: {},
69
+ // transcludeMarkdown: true,
70
+ // },
71
+ // },
72
+
73
+ // https://storybook.js.org/docs/react/essentials/introduction
74
+ // https://storybook.js.org/integrations/tag/essentials
75
+ '@storybook/addon-essentials',
76
+ // included by default in @storybook/addon-essentials
77
+ // https://storybook.js.org/docs/react/essentials/highlight (404)
78
+ // https://storybook.js.org/addons/@storybook/addon-highlight
79
+ // '@storybook/addon-highlight',
80
+
81
+ // https://storybook.js.org/addons/@storybook/addon-interactions
82
+ '@storybook/addon-interactions',
83
+ // https://storybook.js.org/addons/@storybook/addon-jest
84
+ '@storybook/addon-jest',
85
+ // https://storybook.js.org/addons/@storybook/addon-links
86
+ '@storybook/addon-links',
87
+ // https://storybook.js.org/addons/msw-storybook-addon
88
+ // msw-storybook-addon
89
+
90
+ // included by default in @storybook/addon-essentials
91
+ // https://storybook.js.org/docs/react/essentials/measure-and-outline
92
+ // https://storybook.js.org/addons/@storybook/addon-measure
93
+ // https://storybook.js.org/addons/@storybook/addon-outline
94
+ // '@storybook/addon-measure',
95
+ // '@storybook/addon-outline',
96
+
97
+ // https://storybook.js.org/addons/@storybook/addon-storyshots
98
+ '@storybook/addon-storyshots',
99
+ // https://storybook.js.org/addons/@storybook/addon-storyshots-puppeteer
100
+ '@storybook/addon-storyshots-puppeteer',
101
+ // https://storybook.js.org/addons/@storybook/addon-storysource
102
+ {
103
+ name: '@storybook/addon-storysource',
104
+ options: {
105
+ rule: {
106
+ test: [/\.int.story\.js?$/],
107
+ include: [includeBasePath]
108
+ },
109
+ loaderOptions: {
110
+ prettierConfig: {
111
+ tabWidth: 2,
112
+ semi: false,
113
+ singleQuote: true,
114
+ printWidth: 140,
115
+ trailingComma: 'all'
116
+ }
117
+ }
118
+ }
119
+ },
120
+ // https://storybook.js.org/addons/@storybook/addon-styling
121
+ '@storybook/addon-styling'
122
+
123
+ // included by default in @storybook/addon-essentials
124
+ // https://storybook.js.org/docs/react/essentials/toolbars-and-globals
125
+ // https://storybook.js.org/addons/@storybook/addon-toolbars
126
+ // '@storybook/addon-toolbars',
127
+
128
+ // included by default in @storybook/addon-essentials
129
+ // https://storybook.js.org/docs/react/essentials/viewport
130
+ // https://storybook.js.org/addons/@storybook/addon-viewport
131
+ // '@storybook/addon-viewport',
132
+ ],
133
+
134
+ // https://storybook.js.org/docs/react/api/main-config-babel
135
+ // ...
136
+
137
+ // https://storybook.js.org/docs/react/api/main-config-babel-default
138
+ // ...
139
+
140
+ // https://storybook.js.org/docs/react/api/main-config-core
141
+ core: {
142
+ builder: {
143
+ name: '@storybook/builder-webpack5'
144
+ }
145
+ },
146
+ // https://storybook.js.org/docs/react/api/main-config-docs
147
+ // https://storybook.js.org/docs/react/writing-docs/autodocs
148
+ // https://storybook.js.org/docs/react/writing-docs/mdx
149
+ docs: {
150
+ autodocs: true,
151
+ defaultName: 'Documentation',
152
+ docsMode: false
153
+ },
154
+ // https://storybook.js.org/docs/react/api/main-config-env
155
+ // ...
156
+
157
+ // https://storybook.js.org/docs/react/api/main-config-features
158
+ // ...
159
+
160
+ // https://storybook.js.org/docs/react/api/main-config-log-level
161
+ logLevel: {
162
+ logLevel: 'debug'
163
+ },
164
+ // https://storybook.js.org/docs/react/api/main-config-manager-head
165
+ // ...
166
+
167
+ // https://storybook.js.org/docs/react/api/main-config-preview-annotations
168
+ // ...
169
+
170
+ // https://storybook.js.org/docs/react/api/main-config-preview-body
171
+ // ...
172
+
173
+ // https://storybook.js.org/docs/react/api/main-config-preview-head
174
+ // ...
175
+
176
+ // https://storybook.js.org/docs/react/api/main-config-refs
177
+ // ...
178
+
179
+ // https://storybook.js.org/docs/react/api/main-config-static-dirs
180
+ // ...
181
+
182
+ // https://storybook.js.org/docs/react/api/main-config-typescript
183
+ // ...
184
+
185
+ // https://storybook.js.org/docs/react/api/main-config-webpack-final
186
+ webpackFinal: function webpackFinal(_x, _x2) {
187
+ return (_webpackFinal = _webpackFinal || (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(config, _ref2) {
188
+ var configType, fileLoaderRuleSVG;
189
+ return _regenerator["default"].wrap(function _callee$(_context) {
190
+ while (1) switch (_context.prev = _context.next) {
191
+ case 0:
192
+ configType = _ref2.configType;
193
+ fileLoaderRuleSVG = config.module.rules.find(function (rule) {
194
+ return !(0, _object.isEmptyObject)(rule) && rule.test.test && rule.test.test('.svg');
195
+ });
196
+ fileLoaderRuleSVG.exclude = /\.svg$/;
197
+ config.module.rules = config.module.rules.concat([{
198
+ test: /\.(css|scss)$/,
199
+ use: [{
200
+ loader: 'style-loader'
201
+ }, {
202
+ loader: 'css-loader',
203
+ options: {
204
+ importLoaders: 2,
205
+ sourceMap: true,
206
+ modules: {
207
+ localIdentName: '[name]__[local]___[hash:base64:5]'
208
+ }
209
+ }
210
+ }, {
211
+ loader: 'postcss-loader',
212
+ options: {
213
+ postcssOptions: {
214
+ sourceMap: true,
215
+ plugins: function plugins() {
216
+ return [require('postcss-preset-env')()];
217
+ },
218
+ parser: 'postcss-scss'
219
+ }
220
+ }
221
+ }, {
222
+ loader: 'sass-loader',
223
+ options: {
224
+ sassOptions: {
225
+ includePaths: [modulesBasePath]
226
+ }
227
+ }
228
+ }]
229
+ }, {
230
+ test: /\.svg$/i,
231
+ issuer: /\.[jt]sx?$/,
232
+ use: ['@svgr/webpack']
233
+ }, {
234
+ test: /\.int.story\.mdx$/,
235
+ use: [{
236
+ loader: 'babel-loader',
237
+ options: {
238
+ plugins: ['@babel/plugin-transform-react-jsx']
239
+ }
240
+ }, {
241
+ loader: '@mdx-js/loader',
242
+ options: {}
243
+ }]
244
+ }, {
245
+ test: /\.int.story\.jsx?$/,
246
+ loader: require.resolve('@storybook/source-loader'),
247
+ exclude: [/node_modules/],
248
+ enforce: 'pre'
249
+ }]);
250
+ return _context.abrupt("return", config);
251
+ case 5:
252
+ case "end":
253
+ return _context.stop();
254
+ }
255
+ }, _callee);
256
+ }))).apply(this, arguments);
257
+ }
258
+ };
259
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ module.exports = {
4
+ "extends": ['stylelint-config-standard'],
5
+ plugins: ['stylelint-order', 'stylelint-prettier', 'stylelint-scss'],
6
+ rules: {
7
+ 'alpha-value-notation': null,
8
+ 'at-rule-no-unknown': null,
9
+ 'color-function-notation': null,
10
+ 'declaration-empty-line-before': null,
11
+ 'keyframes-name-pattern': null,
12
+ 'prettier/prettier': true,
13
+ 'rule-empty-line-before': null,
14
+ 'selector-class-pattern': null,
15
+ 'annotation-no-unknown': null,
16
+ 'import-notation': 'string'
17
+ }
18
+ };
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.targetBrowsers = exports.manifestFileName = exports.indexHTMLName = exports.extensions = exports.coreJSVersion = void 0;
7
+ var coreJSVersion = '3.32.2';
8
+ exports.coreJSVersion = coreJSVersion;
9
+ var targetBrowsers = {
10
+ production: ['> 1%', 'last 2 versions', 'Firefox ESR'],
11
+ legacyBrowsers: ['> 1%', 'last 2 versions', 'Firefox ESR'],
12
+ modernBrowsers: ['last 2 Chrome versions', 'not Chrome < 60', 'last 2 Safari versions', 'not Safari < 10.1', 'last 2 iOS versions', 'not iOS < 10.3', 'last 2 Firefox versions', 'not Firefox < 54', 'last 2 Edge versions', 'not Edge < 15']
13
+ };
14
+ exports.targetBrowsers = targetBrowsers;
15
+ var manifestFileName = 'manifest.json';
16
+ exports.manifestFileName = manifestFileName;
17
+ var indexHTMLName = 'index.html';
18
+ exports.indexHTMLName = indexHTMLName;
19
+ var extensions = ['.js', '.jsx', '.json', '.scss'];
20
+ exports.extensions = extensions;