Skip to content

Commit 7e64c4c

Browse files
ntaroccozzacharo
authored andcommitted
global: replace nwb with create-react-app
- nwb is not anymore mantained and it is obsolete with many security issues - create-react-app is now used for development - babel cli is used for building the library, but is not optimal. It will require the integration of a build system with ad-hoc configuration
1 parent 80b2e45 commit 7e64c4c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+9379
-19602
lines changed

.babelrc

+1-13
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
11
{
2-
"plugins": [
3-
[
4-
"@babel/plugin-transform-runtime",
5-
{
6-
"regenerator": true
7-
}
8-
],
9-
"@babel/plugin-proposal-class-properties"
10-
],
11-
"presets": [
12-
["@babel/preset-env", { "targets": "> 0.25%, not dead" }], // https://babeljs.io/docs/en/babel-preset-env#targets
13-
"@babel/preset-react"
14-
]
2+
"presets": ["react-app"]
153
}

.eslintrc.json

-24
This file was deleted.

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/coverage
2-
/demo/dist
32
/es
43
/lib
4+
/dist
55
/node_modules
66
/umd
77
/docs/website/node_modules

0 commit comments

Comments
 (0)