package.json
{
"name": "@4so-fourseasons/react-hoc-spinners",
"version": "1.0.2",
"main": "lib/index.js",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"files": [
"es",
"lib",
"src"
],
"description": "Higher Order Component Loading Spinner Library",
"repository": {
"type": "git",
"url": "git@github.com:4so-fourseasons/react-hoc-spinners.git"
},
"keywords": [],
"bugs": {
"url": "https://github.com/4so-fourseasons/react-hoc-spinners/issues"
},
"scripts": {
"clean": "rimraf lib",
"prepublishOnly": "npm run lint && npm run flow && npm run test && npm run build",
"prebuild": "npm run clean",
"build": "npm run build:commonjs && npm run build:es",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
"storybook": "cross-env BABEL_ENV=es start-storybook -p 9001 -c .storybook",
"start": "npm run storybook",
"flow": "flow",
"lint": "standard --parser babel-eslint",
"lint:fix": "standard --parser babel-eslint --fix",
"test:clean": "rimraf ./coverage",
"pretest": "npm run test:clean",
"test": "cross-env NODE_ENV=test jest --verbose",
"test:coverage": "cross-env NODE_ENV=test jest --coverage",
"test:watch": "cross-env NODE_ENV=test jest --watch",
"test:coveralls": "cross-env NODE_ENV=test jest --coverage --runInBand && cat ./coverage/lcov.info | coveralls",
"docs": "rimraf docs && cross-env BABEL_ENV=es build-storybook -c .storybook -o docs",
"postversion": "npm run docs && git add . && git commit --amend --no-edit"
},
"jest": {
"modulePaths": [
"src"
],
"moduleFileExtensions": [
"js",
"jsx"
],
"testPathIgnorePatterns": [
"/node_modules/",
".*/\\w*.stories.js(x)?$"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
".*/\\w*.stories.js(x)?$"
],
"collectCoverageFrom": [
"**/src/**/*.{js,jsx}"
],
"moduleNameMapper": {
"\\.(jpeg|jpg|png|gif|eot|webp|svg|ttf|woff2|mp3|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|scss)$": "<rootDir>/__mocks__/styleMock.js"
},
"coverageReporters": [
"json",
"lcov",
"text"
],
"setupTestFrameworkScriptFile": "./enzyme-setup.js"
},
"standard": {
"parser": "babel-eslint",
"plugins": "flowtype",
"ignore": [
"**/dist/",
"**/flow-typed",
"**/docs"
],
"globals": [
"jest",
"describe",
"it",
"expect",
"HTMLElement"
]
},
"license": "MIT",
"private": false,
"author": {
"name": "Theo Salzmann",
"email": "theo.salzmann@4so.de"
},
"contributors": [],
"homepage": "http://4so.de",
"engines": {},
"peerDependencies": {
"react": "^16.2.0",
"react-dom": "^16.2.0"
},
"dependencies": {
"recompose": "^0.26.0",
"styled-components": "^3.2.1"
},
"devDependencies": {
"@storybook/react": "^3.3.15",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "8.2.2",
"babel-jest": "22.4.1",
"babel-plugin-external-helpers": "6.22.0",
"babel-plugin-styled-components": "^1.5.1",
"babel-polyfill": "6.26.0",
"babel-preset-env": "1.6.1",
"babel-preset-flow": "6.23.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-3": "6.24.1",
"coveralls": "3.0.0",
"cross-env": "5.1.4",
"enzyme": "^3.2.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint-plugin-flowtype": "2.46.1",
"flow-bin": "^0.67.1",
"jest": "22.4.2",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"rimraf": "2.6.2",
"standard": "11.0.0",
"storybook-addon-jsx": "^5.3.0",
"storybook-readme": "^3.2.1"
}
}