Ferdi Koomen fe136fd235 - Fixed eslint warning
- Fixed dev and production builds for faster testing
2020-09-22 09:05:08 +02:00

99 lines
3.2 KiB
JSON

{
"name": "openapi-typescript-codegen",
"version": "0.4.11",
"description": "NodeJS library that generates Typescript or Javascript clients based on the OpenAPI specification.",
"author": "Ferdi Koomen",
"homepage": "https://github.com/ferdikoomen/openapi-typescript-codegen",
"repository": {
"type": "git",
"url": "git+https://github.com/ferdikoomen/openapi-typescript-codegen.git"
},
"bugs": {
"url": "https://github.com/ferdikoomen/openapi-typescript-codegen/issues"
},
"license": "MIT",
"keywords": [
"openapi",
"swagger",
"codegen",
"generator",
"client",
"typescript",
"javascript",
"yaml",
"json",
"fetch",
"xhr",
"node"
],
"maintainers": [
{
"name": "Ferdi Koomen",
"email": "info@madebyferdi.com"
}
],
"main": "dist/index.js",
"module": "dist/index.js",
"bin": {
"openapi": "bin/index.js"
},
"files": [
"bin/index.js",
"dist/index.js",
"src/templates/**/*.ts"
],
"scripts": {
"clean": "rimraf ./dist ./test/result ./coverage ./samples/examples ./node_modules/.cache",
"build": "rollup --config --environment NODE_ENV:development",
"build:watch": "rollup --config --environment NODE_ENV:development --watch",
"release": "rollup --config --environment NODE_ENV:production",
"run": "node ./test/index.js",
"test": "jest",
"test:update": "jest --updateSnapshot",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"eslint": "eslint \"./src/**/*.ts\" \"./bin/index.js\"",
"eslint:fix": "eslint \"./src/**/*.ts\" \"./bin/index.js\" --fix",
"prettier": "prettier \"./src/**/*.ts\" \"./bin/index.js\" --check",
"prettier:fix": "prettier \"./src/**/*.ts\" \"./bin/index.js\" --write",
"prepublish": "yarn run clean && yarn run release",
"codecov": "codecov --token=66c30c23-8954-4892-bef9-fbaed0a2e42b"
},
"dependencies": {
"camelcase": "6.0.0",
"commander": "6.1.0",
"handlebars": "4.7.6",
"js-yaml": "3.14.0",
"mkdirp": "1.0.4",
"path": "0.12.7",
"rimraf": "3.0.2"
},
"devDependencies": {
"@babel/core": "7.11.6",
"@babel/preset-env": "7.11.5",
"@babel/preset-typescript": "7.10.4",
"@rollup/plugin-commonjs": "15.0.0",
"@rollup/plugin-node-resolve": "9.0.0",
"@types/jest": "26.0.14",
"@types/js-yaml": "3.12.5",
"@types/mkdirp": "1.0.1",
"@types/node": "14.11.1",
"@types/rimraf": "3.0.0",
"@typescript-eslint/eslint-plugin": "4.1.1",
"@typescript-eslint/parser": "4.1.1",
"codecov": "3.7.2",
"eslint": "7.9.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-prettier": "3.1.4",
"eslint-plugin-simple-import-sort": "5.0.3",
"glob": "7.1.6",
"jest": "26.4.2",
"jest-cli": "26.4.2",
"prettier": "2.1.2",
"rollup": "2.27.1",
"rollup-plugin-terser": "7.0.2",
"rollup-plugin-typescript2": "0.27.2",
"typescript": "4.0.3"
}
}