Skip to content
Snippets Groups Projects
package.json 2.73 KiB
Newer Older
  • Learn to ignore specific revisions
  • Hugo SUBTIL's avatar
    Hugo SUBTIL committed
    {
      "name": "ram_server",
      "private": true,
    
    Hugo SUBTIL's avatar
    Hugo SUBTIL committed
      "version": "1.6.0",
    
    Hugo SUBTIL's avatar
    Hugo SUBTIL committed
      "description": "Nest TypeScript starter repository",
      "license": "MIT",
      "scripts": {
        "prebuild": "rimraf dist",
        "build": "nest build",
        "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
    
        "start": "ts-node -r tsconfig-paths/register src/main.ts",
    
    Hugo SUBTIL's avatar
    Hugo SUBTIL committed
        "start:dev": "nodemon",
        "start:debug": "nodemon --config nodemon-debug.json",
        "start:prod": "node dist/main",
        "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
    
    Hugo SUBTIL's avatar
    Hugo SUBTIL committed
        "release": "standard-version",
    
        "init-db": "node ./scripts/init-db.js",
    
    Hugo SUBTIL's avatar
    Hugo SUBTIL committed
        "test": "jest",
        "test:watch": "jest --watch",
        "test:cov": "jest --coverage",
        "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
        "test:e2e": "jest --config ./test/jest-e2e.json"
      },
      "dependencies": {
    
    Hugo SUBTIL's avatar
    Hugo SUBTIL committed
    Hugo SUBTIL's avatar
    Hugo SUBTIL committed
    Hugo SUBTIL's avatar
    Hugo SUBTIL committed
        "prettier": "^2.1.2",
        "supertest": "^6.0.0",
        "ts-jest": "^26.4.3",
        "ts-loader": "^8.0.8",
        "ts-node": "^9.0.0",
        "tsconfig-paths": "^3.9.0",
        "typescript": "^4.0.5"
      },
      "jest": {
        "moduleFileExtensions": [
          "js",
          "json",
          "ts"
        ],
        "rootDir": "src",
        "testRegex": ".*\\.spec\\.ts$",
        "transform": {
          "^.+\\.(t|j)s$": "ts-jest"
        },
        "collectCoverageFrom": [
          "**/*.(t|j)s"
        ],
        "coverageDirectory": "../coverage",
        "testEnvironment": "node"
      }
    }