jest-blaze-html
Version:
Preview Jest snapshots right in your browser, working with blaze!
151 lines (150 loc) • 5.21 kB
JSON
{
"name": "jest-blaze-html",
"version": "1.0.1",
"description": "Preview Jest snapshots right in your browser, working with blaze!",
"bin": {
"jest-html": "lib/previewer.js"
},
"main": "lib/serializer/",
"engines": {
"node": ">=6"
},
"author": "Guillermo Grau Panea",
"license": "MIT",
"keywords": [
"Jest",
"test",
"snapshot",
"serializer",
"html",
"preview"
],
"homepage": "https://github.com/lgandecki/jest-html#readme",
"bugs": {
"url": "https://github.com/lgandecki/jest-html/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lgandecki/jest-html.git"
},
"scripts": {
"start": "node lib/server/startup",
"startProd": "node lib/previewer",
"compile": "rm -rf ./lib && mkdir lib && babel --out-dir lib --ignore \"**/__mocks__/**\",\"**/__tests__/**\" src",
"docs": "extract-docs --template docs/templates/README.md --output README.md",
"build": "yarn lint && yarn flow && yarn compile && yarn buildClient && yarn test && yarn docs && yarn xxl",
"buildClient": "yarn build:copyPublic && yarn build:webpack -- -p --env.NODE_ENV=production",
"buildClientWatch": "yarn build:copyPublic && yarn build:webpack -- -w",
"build:copyPublic": "cp -r src/public lib",
"build:webpack": "webpack --config ./src/webpackConfig.js --color --progress --display-chunks",
"travis": "yarn compile && yarn testCovFullExceptMin",
"lint": "eslint src",
"flow": "flow check || exit 0",
"prettier": "prettier --single-quote --trailing-comma es5 --write \"src/**/*.js\"",
"test": "yarn testCovFull",
"testCovFull": "yarn testCovPrepare && yarn testDev && yarn testProd && yarn testCovReport",
"testCovFullExceptMin": "yarn testCovPrepare && yarn testDev && yarn testProd && yarn testCovReport",
"testCovFast": "yarn testCovPrepare && yarn testDev && yarn testCovReport",
"jest": "jest --watch --coverage",
"jestDebug": "node --debug-brk --inspect node_modules/.bin/jest -i",
"testCovPrepare": "rm -rf ./coverage .nyc_output .nyc_tmp && mkdir .nyc_tmp",
"testDev": "cross-env NODE_ENV=development jest --coverage && mv .nyc_output/coverage-final.json .nyc_tmp/coverage-dev.json",
"testProd": "cross-env NODE_ENV=production jest --coverage && mv .nyc_output/coverage-final.json .nyc_tmp/coverage-prod.json",
"testMin": "cross-env TEST_MINIFIED_LIB=1 jest --coverage && mv .nyc_output/coverage-final.json .nyc_tmp/coverage-min.json",
"testCovReport": "cp .nyc_tmp/* .nyc_output/ && nyc report --reporter=html --reporter=lcov --reporter=text"
},
"dependencies": {
"babel-polyfill": "6.26.0",
"body-parser": "1.17.2",
"chokidar": "1.7.0",
"commander": "2.11.0",
"escape-html": "1.0.3",
"express": "4.15.4",
"globby": "6.1.0",
"lodash.debounce": "4.0.8",
"opn": "4.0.2",
"pretty-format": "4.2.1",
"socket.io": "1.5.1",
"storyboard": "3.1.1",
"storyboard-preset-console": "3.1.1",
"timm": "1.2.5",
"whatwg-fetch": "1.0.0"
},
"peerDependencies": {
"jest": ">= 17.0.0"
},
"devDependencies": {
"babel-cli": "6.26.0",
"babel-core": "6.26.0",
"babel-eslint": "7.2.3",
"babel-jest": "19.0.0",
"babel-loader": "7.1.1",
"babel-preset-es2015": "6.24.1",
"babel-preset-react": "6.24.1",
"babel-preset-stage-0": "6.24.1",
"bundle-loader": "0.5.5",
"coveralls": "2.13.1",
"cross-env": "2.0.1",
"css-loader": "0.28.5",
"eslint": "4.4.1",
"eslint-config-airbnb": "15.1.0",
"eslint-config-prettier": "2.3.0",
"eslint-plugin-flowtype": "2.35.0",
"eslint-plugin-import": "2.7.0",
"eslint-plugin-jsx-a11y": "6.0.2",
"eslint-plugin-react": "7.2.1",
"extract-docs": "1.6.0",
"file-loader": "0.11.2",
"flow-bin": "0.45.0",
"giu": "^0.14.0",
"jest": "19.0.2",
"json-loader": "0.5.7",
"moment": "2.18.1",
"node-sass": "4.5.3",
"node-uuid": "1.4.8",
"nyc": "8.3.0",
"oao": "0.10.0-beta.3",
"prettier": "1.5.3",
"react": "15.6.1",
"react-dom": "15.6.1",
"react-frame-component": "^1.1.1",
"react-router": "4.0.0-alpha.5",
"react-test-renderer": "15.6.1",
"sass-loader": "6.0.6",
"socket.io-client": "1.5.1",
"style-loader": "0.18.2",
"webpack": "3.5.5",
"xxl": "1.2.0"
},
"jest": {
"testRegex": "src/.*__tests__/.*\\.(test|spec)\\.(js|jsx)$",
"roots": [
"<rootDir>/src"
],
"moduleNameMapper": {
"^typeface-.*": "<rootDir>/test/emptyObject.js",
"^.+\\.(css|less|sass)$": "<rootDir>/test/emptyObject.js",
"^.+\\.(gif|ttf|eot|svg)$": "<rootDir>/test/emptyString.js"
},
"coverageDirectory": ".nyc_output",
"coverageReporters": [
"json",
"text",
"html"
],
"snapshotSerializers": [
"<rootDir>/lib/serializer"
],
"collectCoverageFrom": [
"src/**/*.js",
"!src/previewer.js",
"!src/client/startup.js",
"!src/server/startup.js",
"!src/server/webpackConfig.js",
"!**/node_modules/**",
"!**/__tests__/**",
"!**/__mocks__/**"
],
"setupTestFrameworkScriptFile": "./test/setup.js"
}
}