Skip to content
Snippets Groups Projects
package.json 3.96 KiB
Newer Older
Fredrik Jonsson's avatar
Fredrik Jonsson committed
    "name": "Hypha",
    "description": "The node.js requirements to build this project.",
    "main": "gulpfile.js",
    "author": "Fredrik Jonsson",
    "license": "GPL-2.0",
    "browserslist": [
        "> 3%",
        "Firefox ESR",
        "last 2 versions"
    ],
    "dependencies": {
    },
    "devDependencies": {
vimal1083's avatar
vimal1083 committed
        "sinon": "^5.0.7",
        "heroku-postbuild": "gulp deploy",
vimal1083's avatar
vimal1083 committed
        "webpack-watch": "webpack-dev-server --config ./hypha/static_src/src/app/webpack.dev.config.js ",
        "test": "NODE_ENV=test jest",
        "test:ci": "NODE_ENV=test jest --runInBand",
vimal1083's avatar
vimal1083 committed
        "test:watch": "NODE_ENV=test jest --watch",
        "test:coverage": "NODE_ENV=test jest --coverage",
        "updateSnapshot": "NODE_ENV=test jest --updateSnapshot",
        "lint-app:css": "stylelint \"hypha/static_src/src/app/src/**/*.scss\"",
        "lint:css": "stylelint \"hypha/static_src/src/sass/**/*.scss\"",
        "lint:js": "eslint \"hypha/static_src/src/javascript/**/*.js\"",
        "lint": "npm run lint:css && npm run lint:js"