UNPKG

@stories-js/react

Version:

React Stories renderer and wrapper for custom elements of Stories to be used as first-class React components

88 lines (87 loc) 2.18 kB
{ "name": "@stories-js/react", "sideEffects": false, "version": "0.2.0", "license": "GPL-2.0", "author": "StoriesJS team", "description": "React Stories renderer and wrapper for custom elements of Stories to be used as first-class React components", "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "keywords": [ "stories", "storiesjs", "angular", "angularjs", "react", "reactjs", "vue", "vuejs", "components", "web components", "documentation", "jamstack", "markup", "mdx", "frontend", "backend", "reuseable", "tool", "ui", "user interface" ], "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/types/index.d.ts", "files": [ "dist/" ], "repository": { "type": "git", "url": "https://github.com/storiesjs/stories.git" }, "scripts": { "build": "yarn run clean && yarn run compile", "build.watch": "yarn run clean && yarn run compile --watch", "clean": "rimraf dist && rimraf dist-transpiled && rimraf coverage", "compile": "yarn run tsc && rollup -c", "tsc": "tsc -p .", "rollup": "rollup -c", "test": "jest --coverage", "test.watch": "jest --watch", "pub": "npm config set //registry.npmjs.org/:_authToken=${NPM_TOKEN} && yarn publish --access public" }, "devDependencies": { "@rollup/plugin-node-resolve": "^8.1.0", "@rollup/plugin-virtual": "^2.0.3", "@types/jest": "23.3.9", "@types/node": "^15.12.2", "@types/react": "^17.0.34", "@types/react-dom": "^17.0.11", "@testing-library/jest-dom": "5.16.1", "jest": "^23.0.0", "np": "^3.1.0", "react": "^17.0.2", "react-dom": "^17.0.2", "rollup": "^2.26.4", "rollup-plugin-sourcemaps": "^0.6.2", "ts-jest": "^26.5.4" }, "dependencies": { "@stories-js/core": "0.2.0", "tslib": "^2.1.0" }, "peerDependencies": { "react": "^17.0.2", "react-dom": "^17.0.2" }, "jest": { "preset": "ts-jest", "setupFilesAfterEnv": ["./jest.setup.js"], "testPathIgnorePatterns": [ "node_modules", "dist" ] } }