{
  "name": "openfoodnetwork",
  "version": "1.0.0",
  "repository": {
    "type": "git",
    "url": "https://github.com/openfoodfoundation/openfoodnetwork"
  },
  "scripts": {
    "storybook": "start-storybook"
  },
  "devDependencies": {
    "@storybook/addon-controls": "^6.3.7",
    "@storybook/addon-docs": "^6.3.7",
    "@storybook/server": "^6.3.7",
    "jasmine-core": "~2.4.1",
    "jest": "^27.0.6",
    "karma": "~6.3.4",
    "karma-chrome-launcher": "~3.1.0",
    "karma-coffee-preprocessor": "~1.0.1",
    "karma-jasmine": "~0.3.8",
    "webpack-dev-server": "^3.11.2"
  },
  "license": "AGPL-3.0",
  "dependencies": {
    "@rails/webpacker": "5.4.2",
    "flatpickr": "^4.6.9",
    "moment": "^2.29.1",
    "shortcut-buttons-flatpickr": "^0.3.1",
    "stimulus": "^2.0.0",
    "webpack": "^4.46.0",
    "webpack-cli": "^3.3.12"
  }
}

{
  "name": "openfoodnetwork",
  "version": "1.0.0",
  "repository": {
    "type": "git",
    "url": "https://github.com/openfoodfoundation/openfoodnetwork"
  },
  "scripts": {
    "storybook": "start-storybook"
  },
  "jest": {
    "testRegex": [
      "spec/javascripts/.*_test\\.js"
    ]
  },
  "devDependencies": {
    "@storybook/addon-controls": "^6.3.7",
    "@storybook/addon-docs": "^6.3.7",
    "@storybook/server": "^6.3.7",
    "jasmine-core": "~2.4.1",
    "jest": "^27.0.6",
    "karma": "~6.3.4",
    "karma-chrome-launcher": "~3.1.0",
    "karma-coffee-preprocessor": "~1.0.1",
    "karma-jasmine": "~0.3.8",
    "webpack-dev-server": "^3.11.2"
  },
  "license": "AGPL-3.0",
  "dependencies": {
    "@rails/webpacker": "5.4.2",
    "flatpickr": "^4.6.9",
    "moment": "^2.29.1",
    "shortcut-buttons-flatpickr": "^0.3.1",
    "stimulus": "^2.0.0",
    "webpack": "^4.46.0",
    "webpack-cli": "^3.3.12"
  }
}

Define each file to be tested by jest
Define each file to be tested by jest
