|
| 1 | +{ |
| 2 | + "name": "react-mock-component", |
| 3 | + "version": "0.0.1", |
| 4 | + "description": "Create type safe mock React components to use in tests", |
| 5 | + "keywords": [ |
| 6 | + "tdd", |
| 7 | + "react", |
| 8 | + "spy", |
| 9 | + "stub", |
| 10 | + "mock", |
| 11 | + "test", |
| 12 | + "typescript" |
| 13 | + ], |
| 14 | + "repository": { |
| 15 | + "type": "git", |
| 16 | + "url": "https://github.com/NiGhTTraX/react-mock-component.git" |
| 17 | + }, |
| 18 | + "main": "dist/src/index", |
| 19 | + "types": "dist/src/index", |
| 20 | + "scripts": { |
| 21 | + "build": "npm run clean && npm run compile", |
| 22 | + "clean": "rm -rf ./dist", |
| 23 | + "compile": "tsc --declaration --outDir ./dist", |
| 24 | + "prepublishOnly": "npm run build", |
| 25 | + "lint": "eslint --ext ts .", |
| 26 | + "test": "TS_NODE_CACHE=0 mocha --opts tests/mocha.opts", |
| 27 | + "test:coverage": "NODE_ENV=coverage nyc mocha --opts tests/mocha.coverage.opts", |
| 28 | + "report-coverage": "nyc report --reporter=json && codecov -f tests/results/coverage/coverage-final.json", |
| 29 | + "precommit": "lint-staged" |
| 30 | + }, |
| 31 | + "lint-staged": { |
| 32 | + "*.ts": "eslint" |
| 33 | + }, |
| 34 | + "author": "Andrei Picus", |
| 35 | + "license": "MIT", |
| 36 | + "dependencies": { |
| 37 | + "chai": "~4.1.2" |
| 38 | + }, |
| 39 | + "peerDependencies": { |
| 40 | + "typescript": "^2.8" |
| 41 | + }, |
| 42 | + "devDependencies": { |
| 43 | + "@babel/core": "~7.0.0-beta.47", |
| 44 | + "@babel/preset-env": "~7.0.0-beta.47", |
| 45 | + "@babel/preset-typescript": "~7.0.0-beta.47", |
| 46 | + "@babel/register": "~7.0.0-beta.47", |
| 47 | + "@nighttrax/eslint-config": "~1.0.1", |
| 48 | + "@types/mocha": "~5.2.0", |
| 49 | + "@types/node": "~10.1.2", |
| 50 | + "babel-plugin-istanbul": "~4.1.6", |
| 51 | + "codecov": "~3.0.2", |
| 52 | + "eslint": "~4.19.1", |
| 53 | + "eslint-import-resolver-babel-module": "~4.0.0", |
| 54 | + "eslint-plugin-import": "~2.12.0", |
| 55 | + "eslint-plugin-jsx-a11y": "~6.0.3", |
| 56 | + "eslint-plugin-react": "~7.8.2", |
| 57 | + "eslint-plugin-typescript": "~0.12.0", |
| 58 | + "husky": "~0.14.3", |
| 59 | + "lint-staged": "~7.1.1", |
| 60 | + "mocha": "~5.2.0", |
| 61 | + "nyc": "~11.8.0", |
| 62 | + "ts-node": "~6.0.0", |
| 63 | + "typescript": "^2.8", |
| 64 | + "typescript-eslint-parser": "~15.0.0" |
| 65 | + }, |
| 66 | + "files": [ |
| 67 | + "dist/src/**/*" |
| 68 | + ] |
| 69 | +} |
0 commit comments