This project was bootstrapped with Create React App.
<!doctype html>
<html lang="en">
<head>
<script>
window.SERVER_DATA = __SERVER_DATA__;
</script>
language: node_js
node_js:
- 6
cache:
directories:
- node_modules
script:
- npm run build
- npm test
By default, the package.json
of the generated project looks like this:
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom"