UNPKG

@mujo/box

Version:

A React utility to add a style guide to primative components

102 lines (101 loc) 2.68 kB
{ "name": "@mujo/box", "version": "5.0.2", "description": "A React utility to add a style guide to primative components", "main": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist/**/*" ], "scripts": { "test": "npm run lint && jest", "fmt": "prettier '{src,public}/**/*.{ts,tsx}' --write", "lint": "eslint '{src,public}/**/*.{ts,tsx}'", "build": "npm run build:code && npm run build:def", "build:code": "NODE_ENV=production babel src --out-dir dist --extensions '.ts,.tsx'", "build:def": "tsc --emitDeclarationOnly", "prepublish": "npm run build" }, "keywords": [ "react", "emotionjs", "style guide" ], "author": "Jacob Lowe", "license": "ISC", "devDependencies": { "@babel/cli": "^7.8.4", "@babel/core": "^7.4.5", "@babel/plugin-transform-typescript": "^7.9.4", "@babel/preset-env": "^7.4.5", "@babel/preset-react": "^7.9.4", "@emotion/core": "^10.0.28", "@mujo/eslint-config": "^1.0.4", "@testing-library/react": "^10.0.4", "@types/jest": "^25.2.1", "@types/react": "^16.9.34", "@typescript-eslint/eslint-plugin": "^2.29.0", "@typescript-eslint/parser": "^2.30.0", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-react-app": "^9.0.1", "eslint": "^5.16.0", "jest": "^24.9.0", "jest-environment-jsdom-fourteen": "0.1.0", "jest-image-snapshot": "^2.9.0", "jest-resolve": "26.1.0", "jest-watch-typeahead": "^0.4.0", "prettier": "^2.2.0", "react": "^16.9.0", "react-dom": "^16.13.1", "react-test-renderer": "^16.9.0", "typescript": "^3.8.3" }, "peerDependencies": { "@emotion/core": ">=11", "react": ">=16" }, "jest": { "collectCoverageFrom": [ "src/**/*.{js}" ], "testMatch": [ "<rootDir>/src/**/__tests__/**/*.{ts,tsx}", "<rootDir>/src/**/*.{spec,test}.{ts,tsx}" ], "testEnvironment": "jest-environment-jsdom-fourteen", "transform": { "^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest" }, "transformIgnorePatterns": [ "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$" ], "modulePaths": [], "moduleFileExtensions": [ "js", "ts", "json", "tsx", "node" ], "watchPlugins": [ "jest-watch-typeahead/filename", "jest-watch-typeahead/testname" ] }, "babel": { "presets": [ [ "react-app", { "runtime": "automatic" } ], "@babel/preset-typescript" ] }, "dependencies": { "@emotion/react": "^11.9.0", "@types/object-keys": "^1.0.1", "object-keys": "^1.1.1" } }