Skip to content

Commit 234e24b

Browse files
committed
build: simplify build system
1 parent 044c9db commit 234e24b

15 files changed

+139
-356
lines changed

.babelrc

-48
This file was deleted.

.browserlistrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
> 0.25%, ie 10, ie 11, not op_mini all

.eslintignore

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/.tmp
2-
/.nyc_output
3-
/coverage
42
/dist
53
/es
64
/lib

.npmignore

+5-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
/.huskyrc
1010
/.husky
1111
/.lintstagedrc
12-
/.babelrc
1312
/.editorconfig
1413
/.eslintignore
1514
/.gitattributes
@@ -24,6 +23,7 @@
2423
/.commitlintrc.json
2524
/.prettierignore
2625
/.prettierrc
26+
/src
2727
/tmp-test-bundle.js
2828
/testem.json
2929
/webpack.config.js
@@ -36,7 +36,10 @@
3636
/CODE_OF_CONDUCT.md
3737
/CONTRIBUTING.md
3838
/GOVERNANCE.md
39-
/SECURITY.md
39+
/babel.config.js
40+
/.nvmrc
41+
/.browserlistrc
42+
4043
/swaggerexpert-json-api-merge-*.*.*.tgz
4144

4245
.eslintrc

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22

.nycrc

-15
This file was deleted.

.prettierignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/es
2+
/lib
3+
/dist

CODE_OF_CONDUCT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This Code of Conduct applies both within project spaces and in public spaces whe
3434

3535
## Enforcement
3636

37-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at vladimir.gorej@gmail.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at contact@swaggerexpert.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
3838

3939
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
4040

SECURITY.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Thank you for improving the security of `json-api-merge`. We appreciate your eff
1414
responsible disclosure and will make every effort to acknowledge your
1515
contributions.
1616

17-
Report security bugs by emailing the lead maintainer at **vladimir.gorej@gmail.com**.
17+
Report security bugs by emailing the lead maintainer at **contact@swaggerexpert.com**.
1818

1919
The lead maintainer will acknowledge your email within 48 hours, and will send a
2020
more detailed response within 48 hours indicating the next steps in handling

babel.config.js

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
'use strict';
2+
3+
module.exports = {
4+
env: {
5+
commonjs: {
6+
presets: [
7+
[
8+
'@babel/preset-env',
9+
{
10+
debug: false,
11+
modules: 'commonjs',
12+
loose: true,
13+
useBuiltIns: false,
14+
forceAllTransforms: false,
15+
ignoreBrowserslistConfig: false,
16+
},
17+
],
18+
],
19+
plugins: ['add-module-exports'],
20+
},
21+
es: {
22+
presets: [
23+
[
24+
'@babel/preset-env',
25+
{
26+
debug: false,
27+
modules: false,
28+
useBuiltIns: false,
29+
forceAllTransforms: false,
30+
ignoreBrowserslistConfig: false,
31+
},
32+
],
33+
],
34+
},
35+
browser: {
36+
presets: [
37+
[
38+
'@babel/preset-env',
39+
{
40+
debug: false,
41+
modules: 'auto',
42+
useBuiltIns: false,
43+
forceAllTransforms: false,
44+
ignoreBrowserslistConfig: false,
45+
},
46+
],
47+
],
48+
},
49+
},
50+
};

0 commit comments

Comments
 (0)