{ "name": "embeddable-react-widget", "version": "0.0.1", "description": "building an embeddable js widget with react", "main": "index.js", "scripts": { "build": "NODE_ENV=production webpack-cli --mode production", "start": "webpack-dev-server", "test": "jest", "test-update-snapshots": "jest --updateSnapshot", "deploy": "npm run build && gh-pages -d dist" }, "babel": { "presets": [ "airbnb" ], "plugins": [ "@babel/plugin-syntax-dynamic-import", "@babel/plugin-syntax-import-meta", "@babel/plugin-proposal-class-properties", "@babel/plugin-proposal-json-strings", [ "@babel/plugin-proposal-decorators", { "legacy": true } ], "@babel/plugin-proposal-function-sent", "@babel/plugin-proposal-export-namespace-from", "@babel/plugin-proposal-numeric-separator", "@babel/plugin-proposal-throw-expressions" ] }, "jest": { "coverageDirectory": "./coverage/", "collectCoverage": true, "collectCoverageFrom": [ "/src/**/*.js?(x)" ], "coveragePathIgnorePatterns": [ "/node_modules/", "/test-helpers/" ], "transform": { "^.+\\.(js|jsx|mjs)$": "/node_modules/babel-jest", "^.+\\.(css|scss)$": "/jest/cssTransform.js", "^(?!.*\\.(js|jsx|css|json)$)": "/jest/fileTransform.js" }, "setupFiles": [ "/jest/setup.js" ], "snapshotSerializers": [ "enzyme-to-json/serializer" ] }, "serve": { "content": [ "./dist", "./public" ] }, "author": "seriousben https://github.com/seriousben", "license": "MIT", "devDependencies": { "@babel/core": "^7.0.0", "@babel/plugin-proposal-class-properties": "^7.0.0", "@babel/plugin-proposal-decorators": "^7.0.0", "@babel/plugin-proposal-export-namespace-from": "^7.0.0", "@babel/plugin-proposal-function-sent": "^7.0.0", "@babel/plugin-proposal-json-strings": "^7.0.0", "@babel/plugin-proposal-numeric-separator": "^7.0.0", "@babel/plugin-proposal-throw-expressions": "^7.0.0", "@babel/plugin-syntax-dynamic-import": "^7.0.0", "@babel/plugin-syntax-import-meta": "^7.0.0", "babel-core": "^7.0.0-bridge.0", "babel-eslint": "10.0.1", "babel-jest": "^23.4.2", "babel-loader": "8.0.6", "babel-preset-airbnb": "^3.2.1", "clean-webpack-plugin": "3.0.0", "copy-webpack-plugin": "^5.0.3", "css-loader": "2.1.1", "cssimportant-loader": "0.4.0", "enzyme": "3.9.0", "enzyme-adapter-react-16": "1.13.1", "enzyme-to-json": "3.3.5", "eslint": "5.16.0", "eslint-config-airbnb": "17.1.0", "eslint-import-resolver-webpack": "0.11.1", "eslint-plugin-import": "2.17.2", "eslint-plugin-jsx-a11y": "6.2.1", "eslint-plugin-react": "7.13.0", "gh-pages": "2.0.1", "jest": "^24.8.0", "jest-cli": "^24.8.0", "mini-css-extract-plugin": "0.6.0", "node-sass": "4.12.0", "postcss-increase-specificity": "0.6.0", "postcss-loader": "3.0.0", "sass-loader": "7.1.0", "style-loader": "0.23.1", "webpack": "4.34.0", "webpack-cli": "^3.3.2", "webpack-dev-server": "^3.4.1", "webpack-obfuscator": "0.18.0", "webpack-serve": "3.1.0" }, "dependencies": { "prop-types": "^15.6.2", "react": "^16.8.6", "react-dom": "^16.8.6", "react-transition-group": "^4.0.0" } }