rmwc
Version:
A thin React wrapper for Material Design (Web) Components
111 lines (110 loc) • 3.85 kB
JSON
{
"name": "rmwc",
"version": "1.7.5",
"author": "James Friedman",
"private": false,
"description": "A thin React wrapper for Material Design (Web) Components",
"homepage": "https://jamesmfriedman.github.io/rmwc/",
"repository": {
"type": "git",
"url": "https://github.com/jamesmfriedman/rmwc.git"
},
"keywords": [
"rmwc",
"react",
"react-material",
"material-design",
"react-mdc",
"react-material-design"
],
"bugs": {
"url": "https://github.com/jamesmfriedman/rmwc/issues",
"email": "me@jamesmfriedman.com"
},
"license": "MIT",
"main": "index.js",
"types": "index.d.ts",
"peerDependencies": {
"react": "^15.x.x || ^16.x.x",
"react-dom": "^15.x.x || ^16.x.x"
},
"dependencies": {
"classnames": "^2.2.5",
"hyperform": "^0.9.9",
"material-components-web": "0.36.1",
"mutation-observer": "^1.0.3",
"prop-types": "^15.6.1"
},
"scripts": {
"start": "react-app-rewired start",
"build:docs": "npm run docgen && react-app-rewired build && rm -R docs && mv build docs && cp docs/index.html docs/404.html",
"build:code": "node scripts/build-code.js",
"build:lib": "node scripts/build-lib.js",
"build": "npm run build:code && npm run build:lib && npm run build:docs",
"pretest": "node scripts/pretest.js",
"test": "flow && npm run build:code && node scripts/test.js",
"test:watch": "react-app-rewired test --env=jsdom",
"clean": "node scripts/clean.js",
"prepublishOnly": "npm run build",
"postpublish": "npm run clean",
"docgen": "export NODE_ENV=development && react-docgen ./src --exclude=/\\.\\(story\\|docs\\|spec\\)\\.js/ --pretty --resolver ./scripts/docgen-resolver.js -o ./src/docs/docgen.json",
"deploy:docs": "npm run build:docs && git add docs -f && git commit -m 'Deploying docs' && git push --force && npm run clean",
"changelog": "changelog",
"storybook": "start-storybook -p 6006",
"preversion": "npm test -- --coverage",
"version": "npm run changelog && git add CHANGELOG.md && npm run build:lib && git add -A lib && npm run build && git add docs -f",
"postversion": "git push && git push --tags",
"flow": "flow"
},
"devDependencies": {
"@storybook/addon-actions": "^3.3.15",
"@storybook/addon-knobs": "^3.3.15",
"@storybook/react": "^3.3.15",
"@types/classnames": "^2.2.4",
"@types/prop-types": "^15.5.3",
"@types/react": "^16.4.1",
"@types/react-dom": "^16.0.6",
"babel-cli": "^6.26.0",
"babel-eslint": "^8.2.3",
"babel-preset-es2015": "^6.24.1",
"css-to-string-loader": "^0.1.3",
"enzyme": "^3.3.0",
"enzyme-adapter-react-15": "^1.0.5",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.19.1",
"eslint-config-react-app": "^2.1.0",
"eslint-plugin-flowtype": "^2.46.3",
"eslint-plugin-import": "^2.11.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-react": "^7.7.0",
"flow-bin": "^0.74.0",
"generate-changelog": "^1.7.0",
"normalize.css": "^7.0.0",
"prettier-eslint": "^8.8.1",
"prismjs": "^1.9.0",
"react": "^16.2.0",
"react-app-rewired": "^1.5.2",
"react-docgen": "^2.20.1",
"react-dom": "^16.2.0",
"react-hot-loader": "^4.0.1",
"react-markdown-loader": "git+https://github.com/jamesmfriedman/react-markdown-loader.git#master",
"react-router-dom": "^4.2.2",
"react-scripts": "^1.1.4",
"storybook": "^1.0.0",
"typescript": "^2.9.2"
},
"jest": {
"resolver": "./scripts/jest-resolver.js",
"collectCoverageFrom": [
"src/**/*.{js}",
"!src/**/*.flow.js",
"!src/**/*.story.js",
"!src/index.js",
"!src/rmwc.js",
"!src/Base/utils/DocumentComponent.js",
"!src/Base/utils/story-with-state.js",
"!src/docs/*",
"!<rootDir>/node_modules/"
]
}
}