title: How to add build script and tests in NodeJs project
body: <p>I have created a basic todo app which has <code>package.json</code> file as:</p>
  
  <pre><code>{
    "name": "to-do-app",
    "version": "1.0.0",
    "description": "A basic to-do app created using JavaScript.",
    "main": "index.js",
    "scripts": {
      "test": "echo \"Error: no test specified\" &amp;&amp; exit 1"
    },
    "author": "Sahil Silare",
    "license": "MIT",
    "dependencies": {
      "body-parser": "^1.19.0",
      "build": "^0.1.4",
      "ejs": "^2.7.1",
      "express": "^4.17.1",
      "npm-build": "0.0.1"
    },
    "devDependencies": {},
    "repository": {
      "type": "git",
      "url": "git+https://github.com/sahil9001/to-do-app.git"
    },
    "keywords": [
      "todo",
      "app"
    ],
    "bugs": {
      "url": "https://github.com/sahil9001/to-do-app/issues"
    },
    "homepage": "https://github.com/sahil9001/to-do-app#readme"
  }
  </code></pre>
  
  <p>Whenever I run <code>npm test</code> it fails by saying no tests specified, how can I solve this issue? also whenever I try to use <code>TRAVIS CI</code> it fails to detect <code>build</code> script how can I create one?</p>