![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
A starter kit to get you up and running with a bunch of awesome new front-end technologies using Babel, Webpack, Mocha, Chai, Karma, Isparta, and ESLint without any framework dependencies.
A starter kit to get you up and running with a bunch of awesome new front-end technologies using Babel, Webpack, Mocha, Chai, Karma, Isparta, and ESLint without any framework dependencies.
Node ^4.0.0
or ^5.0.0
.
Just clone the repo and install the necessary node modules:
$ git clone https://github.com/kflash/trolly.git trolly
$ cd trolly
$ npm install # Install Node modules listed in ./package.json
$ npm webpack # Build a non-minified version of the library
npm run build
- Build task that generates minified scriptsnpm run precommit
- Run the unit tests,, and generate a minified scriptnpm run clean
- Remove the dist
foldernpm run lint
- Lint the sourcenpm run lint:tests
- Lint the unit testsnpm run clean
- Remove the coverage report and the dist foldernpm run test
- Runs unit tests for both server and the browsernpm run test:browser
- Runs the unit tests for browser / clientnpm run test:server
- Runs the unit tests on the servernpm run watch
- Run all unit tests & watch files for changesnpm run coveralls
- Run Isparta, a code coverage tool;npm run packages
- Shows all installed dependenciesnpm run package:purge
- Remove all dependenciesnpm run package:reinstall
- Reinstall all dependenciesnpm run package:updates
- shows a list over dependencies with a higher version number then the current one - if anynpm run package:upgrade
- Automaticly upgrade all dependencies and update package.jsonThis project uses Mocha to run your unit tests, it uses Karma as the test runner, it enables the feature that you are able to render your tests to the browser (e.g: Firefox, Chrome etc.).
To add a unit test, simply create .spec.js
file inside either the server or client folder in the ~/__tests__
main folder. Karma will pick up on these files automatically, and Mocha and Chai will be available within your unit tests without the need to import them.
To run the tests in the project, just simply npm run test
for both server and client unit tests, or npm run test:server
. for server or npm run test:browser
. for browser tests.
To keep watching your test suites that you are working on, simply do npm run test:watch
.
This library is set up to integrate with Coveralls, and will automaticly publish your coverage report if you have created an account for your repo at coveralls.io
This boilerplate project uses ESLint to lint your source. To change the rules, edit the .eslintrc file in the root directory, respectively.
npm run lint // lints the source
npm run lint:tests // lints the unit tests
Download the package, and run this from the command line:
npm install
This boilerplate is easily customizable. Add your dependencies to the package.json file, and modify either the webpack config files or the karma files itself.
For the server side unit tests with mocha, you may want to install jsdom etc. This can be done if you modify the bootstrap.js
file located inside the __setup__ folder
There are issues with Babel v.6.x
, and Webpack 2.0-Beta
. Latest Webpack release runs stable only on node.js stable
branch.
However. Trolly uses Babel v. 6.x
without any issues, but not yet updated to Webpack 2.0-Beta
. PhantomJS 2.0
is still not supported.
Older node.js versions gives issues with some newer dependencies, so only Node >= 4.x
and iojs >= 3.x
are supported.
###Help! It doesn't work on Windows! What do I do? Just take a cup of coffee and relax. It works!
###Is this boilerplate production ready? Yes, for small applications. For a larger project, you'll need to customize the boilerplate after your own needs, but that is out of scope of this boilerplate.
MIT � KFlash
FAQs
A webpack starter kit to get you up and running with the newest front-end technologies.
The npm package trolly receives a total of 34 weekly downloads. As such, trolly popularity was classified as not popular.
We found that trolly demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.