console-testing-library
Version:
Testing console the right way
79 lines (78 loc) • 1.67 kB
JSON
{
"name": "console-testing-library",
"version": "0.6.1",
"description": "Testing console the right way",
"engines": {
"node": "^10 || >=12"
},
"type": "module",
"main": "dist/index.js",
"typings": "index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"default": "./src/index.js"
},
"./pure": {
"require": "./dist/pure.js",
"default": "./src/pure.js"
}
},
"repository": "https://github.com/kevin940726/console-testing-library.git",
"author": "Kai Hao",
"license": "MIT",
"private": false,
"scripts": {
"build": "babel src -d dist",
"test": "jest",
"prepare": "yarn build && yarn test"
},
"dependencies": {
"jest-snapshot": "^26.0.0",
"pretty-format": "^26.0.0",
"strip-ansi": "^6.0.0"
},
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.10",
"ansi-styles": "^5.0.0",
"canopic": "^0.2.1"
},
"eslintConfig": {
"extends": "react-app"
},
"eslintIgnore": [
"*.d.ts",
"dist/",
"node_modules/"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css,json,md,mdx,html}": [
"prettier --write",
"git add"
],
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"git add"
]
},
"prettier": {
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"trailingComma": "es5",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "avoid"
}
}