UNPKG

jest-preview

Version:

Preview your Jest tests in a browser

133 lines (132 loc) 4.06 kB
{ "name": "jest-preview", "version": "0.3.1", "description": "Preview your Jest tests in a browser", "keywords": [ "testing", "jest", "frontend", "productivity", "debug", "preview jest" ], "homepage": "https://www.jest-preview.com", "repository": { "type": "git", "url": "git+https://github.com/nvh95/jest-preview.git" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/jest-preview" }, "license": "MIT", "author": { "name": "Hung Viet Nguyen", "url": "https://github.com/nvh95" }, "main": "dist/index.js", "bin": { "jest-preview": "./cli/index.js" }, "files": [ "dist", "transforms", "cli" ], "scripts": { "docs": "cd website && npm run start", "build:docs": "cd website && npm run build", "dev": "vite", "types": "tsc --project tsconfig.types.json", "build": "node scripts/clearBuildFolder.js && pnpm run build:only && pnpm run types", "build:legacy::only": "vite build", "build:legacy:watch": "vite build --watch", "build:only": "rollup -c", "build:watch": "rollup -c -w", "prepublishOnly": "pnpm run build", "publish:alpha": "cross-env BUILD_TAG=alpha npm publish --tag alpha", "publish:latest": "cross-env BUILD_TAG=latest npm publish", "preview": "vite preview", "server": "node cli/index.js", "server:watch": "nodemon cli/index.js", "test:dev": "jest --clearCache && cross-env NODE_ENV=test jest --watch App", "test:dev:cache": "cross-env NODE_ENV=test jest --watch App", "test:ci": "cross-env NODE_ENV=test jest", "clearCache": "node cli/clearCache.js", "test": "npm-run-all -p server test:dev", "prettier": "prettier cli src --check", "prettier:fix": "pnpm run prettier -- --write", "sort": "npx sort-package-json", "postinstall": "node -e \"try{require('./cli/clearCache')}catch(e){console.log(e)}\"", "publish:local": "npm publish --registry http://0.0.0.0:4873/", "ecosystem-ci": "node scripts/ecosystem-ci.js" }, "dependencies": { "@svgr/core": "^6.2.1", "camelcase": "^6.3.0", "chalk": "^4.1.2", "chokidar": "^3.5.3", "commander": "^9.2.0", "connect": "^3.7.0", "find-node-modules": "^2.1.3", "open": "^8.4.0", "postcss-import": "^14.1.0", "postcss-load-config": "^4.0.1", "sirv": "^2.0.2", "slash": "^3.0.0", "string-hash": "^1.1.3", "update-notifier": "^5.1.0", "ws": "^8.5.0" }, "devDependencies": { "@babel/core": "^7.18.10", "@emotion/react": "^11.9.0", "@emotion/styled": "^11.8.1", "@jest/types": "27", "@stitches/react": "^1.2.8", "@swc/core": "^1.2.154", "@swc/jest": "^0.2.20", "@testing-library/dom": "^8.16.0", "@testing-library/jest-dom": "^5.16.2", "@testing-library/react": "^12.1.4", "@testing-library/user-event": "^13.5.0", "@types/connect": "^3.4.35", "@types/jest": "27", "@types/less": "^3.0.3", "@types/node": "^18.6.3", "@types/react": "^17.0.33", "@types/react-dom": "^17.0.10", "@types/styled-components": "^5.1.24", "@types/svgo": "^2.6.3", "@types/testing-library__jest-dom": "^5.14.5", "@vitejs/plugin-react": "^1.3.0", "animate-sass": "^0.8.2", "animate.css": "^4.1.1", "autoprefixer": "^10.4.7", "cross-env": "^7.0.3", "jest": "^27.5.1", "jest-watch-typeahead": "^1.0.0", "less": "^4.1.3", "nodemon": "^2.0.15", "npm-run-all": "^4.1.5", "postcss": "^8.4.14", "postcss-modules": "^4.3.1", "postcss-trolling": "^0.1.7", "prettier": "^2.6.0", "react": "^17.0.2", "react-dom": "^17.0.2", "react-is": "^18.2.0", "rollup": "^2.77.2", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript2": "^0.31.2", "sass": "^1.50.0", "styled-components": "^5.3.5", "tailwindcss": "^3.1.2", "typescript": "^4.6.3", "vite": "^2.9.1", "vite-plugin-svgr": "^2.2.0" }, "bug": { "url": "https://github.com/nvh95/jest-preview/issues" } }