@matt-dunn/react-wireframes
Version:
React component to annotate your components — useful for prototypes and proof of concepts
72 lines (71 loc) • 3.23 kB
JSON
{
"name": "@matt-dunn/react-wireframes",
"version": "2.1.17",
"author": "Matt Dunn",
"homepage": "https://github.com/matt-dunn/packages/tree/master/packages/react-wireframes",
"description": "React component to annotate your components — useful for prototypes and proof of concepts",
"keywords": [
"react",
"wireframe",
"typescript",
"prototype",
"prototyping",
"poc",
"mockup"
],
"repository": {
"type": "git",
"url": "https://github.com/matt-dunn/packages.git"
},
"main": "lib/index.js",
"types": "lib/index.d.ts",
"source": "src/index.ts",
"license": "MIT",
"files": [
"lib",
"docs"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"docs:build": "typedoc --out ../../dist/packages/react-wireframes/docs src --mode file --exclude \"**/*+(.spec|.e2e).*\" --excludeNotExported",
"lint": "eslint ./src ./e2e --ext .jsx,.js,.ts,.tsx,.mdx --fix",
"test": "yarn test:unit && yarn test:e2e",
"test:unit": "jest --coverage --passWithNoTests",
"test:e2e": "concurrently --success first --kill-others \"cross-env CYPRESS_BASE_URL=http://127.0.0.1:8090/ cypress run --project ./e2e\" \"yarn examples:serve\"",
"test:e2e:dev": "concurrently --success first --kill-others \"cross-env CYPRESS_BASE_URL=https://127.0.0.1:8090/ cypress open --project ./e2e\" \"yarn examples:start\"",
"build:types": "tsc -b tsconfig.build.json",
"build:js": "babel ./src -d lib --extensions \".ts,.tsx\" --ignore **/*.story.ts,**/*.story.tsx,**/*.spec.ts,**/*.spec.tsx --root-mode upward",
"prebuild": "npm run lint",
"build": "npm run build:js && npm run build:types && yarn run examples:build && yarn run docs:build && npm run test:e2e",
"postbuild": "yarn report:build",
"examples:start": "parcel docs/examples/public/index.html --https --out-dir .build --port 8090",
"examples:build": "parcel build docs/examples/public/index.html --public-url ./ --no-cache --out-dir ../../dist/packages/react-wireframes/examples",
"examples:serve": "http-server ../../dist/packages/react-wireframes/examples/ --port 8090 --silent",
"report:cypress:merge": "mochawesome-merge reports/cypress/results/**/*.json > reports/cypress/index.json",
"report:cypress:generate": "marge reports/cypress/index.json --reportDir ../../dist/packages/react-wireframes/e2e --assetsDir ../../dist/packages/react-wireframes/e2e/assets --reportPageTitle index.html",
"report:cypress:build": "yarn report:cypress:merge && yarn report:cypress:generate && copyfiles -f **/cypress/videos/**/* ../../dist/packages/react-wireframes/e2e/videos\n",
"report:build": "yarn report:cypress:build"
},
"dependencies": {
"classnames": "^2.2.6",
"scroll-into-view-if-needed": "^2.2.25"
},
"peerDependencies": {
"@emotion/core": "10.*",
"@emotion/css": "10.*",
"@emotion/styled": "10.*",
"react-transition-group": "4.*"
},
"devDependencies": {
"@emotion/styled": "^10.0.27",
"bootstrap": "^4.5.2",
"parcel": "^1.12.4",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-router-dom": "^5.2.0",
"sass": "^1.26.10"
},
"gitHead": "5e0162af3af7d46d8ca9e55fd245f85c6932c006"
}