UNPKG

storybook-addon-specifications

Version:
87 lines (86 loc) 2.7 kB
{ "name": "storybook-addon-specifications", "version": "2.2.0", "description": "Add tests to your react storybook stories", "main": "dist/index.js", "scripts": { "clean": "rimraf dist", "deploy-storybook": "storybook-to-ghpages", "prepublish": "npm-run-all clean test", "storybook": "start-storybook -p 9001", "babel": "babel --ignore __tests__ src --out-dir dist", "jest": "jest", "mocha": "mocha --compilers js:babel-register --require babel-polyfill ./.storybook/__conf__/mochaMockConfig.js ./.storybook/__conf__/enzymeConfig.js \"./.storybook/**/*.mocha.stories.js\"", "test": "npm-run-all babel jest mocha" }, "repository": { "type": "git", "url": "git+https://github.com/mthuret/storybook-addon-specifications.git" }, "keywords": [ "storybook", "tests", "react", "specifications" ], "license": "MIT", "bugs": { "url": "https://github.com/mthuret/storybook-addon-specifications/issues" }, "homepage": "https://github.com/mthuret/storybook-addon-specifications#readme", "devDependencies": { "@storybook/addons": "5.2.0-beta.40", "@storybook/react": "5.2.0-beta.40", "@storybook/ui": "3.2.17", "babel-cli": "^6.11.4", "babel-preset-es2015": "^6.9.0", "babel-preset-react": "^6.11.1", "babel-preset-stage-0": "^6.5.0", "babel-runtime": "^6.26.0", "chai": "^4.0.2", "enzyme": "3.2.0", "enzyme-adapter-react-16": "^1.1.0", "expect": "^1.20.2", "jest": "^21.0.0", "json": "^9.0.4", "mocha": "^3.0.2", "npm-run-all": "^4.0.2", "prop-types": "^15.6.0", "react": "^16.2.0", "react-dom": "^16.2.0", "react-test-renderer": "^16.2.0", "rimraf": "^2.5.4" }, "dependencies": { "aphrodite": "^1.1.0" }, "peerDependencies": { "@storybook/addons": "^6.0.0", "react": "^0.14.7 || ^15.0.0 || ^16.0.0", "react-dom": "^0.14.7 || ^15.0.0 || ^16.0.0" }, "jest": { "setupFiles": [ "./.storybook/__conf__/jestMockConfig.js", "./.storybook/__conf__/enzymeConfig.js" ], "testRegex": "../.*.ci.jest.stories.js$", "automock": false, "globals": { "__TESTS__": true }, "unmockedModulePathPatterns": [ "<rootDir>/node_modules/react/", "<rootDir>/node_modules/lodash/", "<rootDir>/node_modules/material-ui/", "<rootDir>/node_modules/react-dom/", "<rootDir>/node_modules/enzyme/", "<rootDir>/node_modules/chai/", "<rootDir>/node_modules/core-js/", "<rootDir>/node_modules/sinon/", "<rootDir>/node_modules/uuid/", "<rootDir>/node_modules/es6-shim/", "<rootDir>/node_modules/react-addons-test-utils/" ] } }