2018-05-26 18:53:54 +00:00
|
|
|
{
|
|
|
|
"name": "embeddable-react-widget",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"description": "building an embeddable js widget with react",
|
|
|
|
"main": "index.js",
|
|
|
|
"scripts": {
|
2019-06-21 00:43:09 +00:00
|
|
|
"build": "NODE_ENV=production webpack-cli --mode production && npm run build-storybook",
|
2019-06-15 01:57:28 +00:00
|
|
|
"start": "webpack-dev-server",
|
2018-06-03 18:28:12 +00:00
|
|
|
"test": "jest",
|
2018-06-03 18:56:18 +00:00
|
|
|
"test-update-snapshots": "jest --updateSnapshot",
|
2019-06-20 17:26:02 +00:00
|
|
|
"deploy": "npm run build && gh-pages -d dist",
|
2019-06-21 00:43:09 +00:00
|
|
|
"storybook": "start-storybook -p 6006",
|
|
|
|
"build-storybook": "build-storybook -c .storybook -o dist/storybook",
|
2019-06-20 17:26:02 +00:00
|
|
|
"lint": "./node_modules/.bin/eslint ."
|
2018-05-26 18:53:54 +00:00
|
|
|
},
|
|
|
|
"babel": {
|
|
|
|
"presets": [
|
2019-06-15 01:57:28 +00:00
|
|
|
"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"
|
2018-05-26 18:53:54 +00:00
|
|
|
]
|
|
|
|
},
|
2018-05-30 01:56:01 +00:00
|
|
|
"jest": {
|
2018-05-30 02:11:02 +00:00
|
|
|
"coverageDirectory": "./coverage/",
|
|
|
|
"collectCoverage": true,
|
2018-06-03 18:28:12 +00:00
|
|
|
"collectCoverageFrom": [
|
|
|
|
"<rootDir>/src/**/*.js?(x)"
|
|
|
|
],
|
|
|
|
"coveragePathIgnorePatterns": [
|
|
|
|
"/node_modules/",
|
|
|
|
"/test-helpers/"
|
|
|
|
],
|
2018-05-30 01:56:01 +00:00
|
|
|
"transform": {
|
|
|
|
"^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest",
|
|
|
|
"^.+\\.(css|scss)$": "<rootDir>/jest/cssTransform.js",
|
|
|
|
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/jest/fileTransform.js"
|
|
|
|
},
|
|
|
|
"setupFiles": [
|
|
|
|
"<rootDir>/jest/setup.js"
|
2018-06-03 18:28:12 +00:00
|
|
|
],
|
|
|
|
"snapshotSerializers": [
|
|
|
|
"enzyme-to-json/serializer"
|
2018-05-30 01:56:01 +00:00
|
|
|
]
|
|
|
|
},
|
2018-05-31 00:45:33 +00:00
|
|
|
"serve": {
|
2018-06-03 18:28:12 +00:00
|
|
|
"content": [
|
|
|
|
"./dist",
|
|
|
|
"./public"
|
|
|
|
]
|
2018-05-31 00:45:33 +00:00
|
|
|
},
|
2018-05-26 18:53:54 +00:00
|
|
|
"author": "seriousben https://github.com/seriousben",
|
|
|
|
"license": "MIT",
|
|
|
|
"devDependencies": {
|
2019-06-15 02:48:30 +00:00
|
|
|
"@babel/core": "7.4.5",
|
|
|
|
"@babel/plugin-proposal-class-properties": "7.4.4",
|
|
|
|
"@babel/plugin-proposal-decorators": "7.4.4",
|
|
|
|
"@babel/plugin-proposal-export-namespace-from": "7.2.0",
|
|
|
|
"@babel/plugin-proposal-function-sent": "7.2.0",
|
|
|
|
"@babel/plugin-proposal-json-strings": "7.2.0",
|
|
|
|
"@babel/plugin-proposal-numeric-separator": "7.2.0",
|
|
|
|
"@babel/plugin-proposal-throw-expressions": "7.2.0",
|
|
|
|
"@babel/plugin-syntax-dynamic-import": "7.2.0",
|
|
|
|
"@babel/plugin-syntax-import-meta": "7.2.0",
|
2019-06-21 10:06:47 +00:00
|
|
|
"@storybook/addon-actions": "5.1.9",
|
|
|
|
"@storybook/addon-links": "5.1.9",
|
|
|
|
"@storybook/addons": "5.1.9",
|
|
|
|
"@storybook/react": "5.1.9",
|
2019-06-15 02:48:30 +00:00
|
|
|
"babel-core": "7.0.0-bridge.0",
|
2019-06-17 13:57:49 +00:00
|
|
|
"babel-eslint": "10.0.2",
|
2019-06-15 02:53:56 +00:00
|
|
|
"babel-jest": "24.8.0",
|
2019-05-12 13:07:14 +00:00
|
|
|
"babel-loader": "8.0.6",
|
2019-06-26 14:53:50 +00:00
|
|
|
"babel-preset-airbnb": "4.0.1",
|
2019-06-15 02:44:10 +00:00
|
|
|
"clean-webpack-plugin": "3.0.0",
|
2019-06-15 02:48:30 +00:00
|
|
|
"copy-webpack-plugin": "5.0.3",
|
2019-06-15 02:45:29 +00:00
|
|
|
"css-loader": "3.0.0",
|
2019-04-16 18:11:59 +00:00
|
|
|
"cssimportant-loader": "0.4.0",
|
2019-06-15 02:53:36 +00:00
|
|
|
"enzyme": "3.10.0",
|
2019-06-15 02:51:44 +00:00
|
|
|
"enzyme-adapter-react-16": "1.14.0",
|
2019-04-16 18:11:59 +00:00
|
|
|
"enzyme-to-json": "3.3.5",
|
2019-04-16 21:36:46 +00:00
|
|
|
"eslint": "5.16.0",
|
2019-04-16 18:11:59 +00:00
|
|
|
"eslint-config-airbnb": "17.1.0",
|
|
|
|
"eslint-import-resolver-webpack": "0.11.1",
|
2019-06-20 20:41:29 +00:00
|
|
|
"eslint-loader": "2.1.2",
|
2019-06-15 02:52:09 +00:00
|
|
|
"eslint-plugin-import": "2.17.3",
|
2019-04-17 10:04:05 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "6.2.1",
|
2019-05-03 11:03:12 +00:00
|
|
|
"eslint-plugin-react": "7.13.0",
|
2019-04-16 18:11:59 +00:00
|
|
|
"gh-pages": "2.0.1",
|
2019-06-15 02:48:30 +00:00
|
|
|
"jest": "24.8.0",
|
|
|
|
"jest-cli": "24.8.0",
|
2019-06-15 02:54:18 +00:00
|
|
|
"mini-css-extract-plugin": "0.7.0",
|
2019-04-27 09:30:31 +00:00
|
|
|
"node-sass": "4.12.0",
|
2019-04-16 18:11:59 +00:00
|
|
|
"postcss-increase-specificity": "0.6.0",
|
|
|
|
"postcss-loader": "3.0.0",
|
|
|
|
"sass-loader": "7.1.0",
|
|
|
|
"style-loader": "0.23.1",
|
2019-06-20 20:42:01 +00:00
|
|
|
"webpack": "4.35.0",
|
2019-06-26 14:54:03 +00:00
|
|
|
"webpack-cli": "3.3.5",
|
2019-06-18 00:27:55 +00:00
|
|
|
"webpack-dev-server": "3.7.2",
|
2019-04-17 10:06:22 +00:00
|
|
|
"webpack-obfuscator": "0.18.0",
|
2019-04-16 18:11:59 +00:00
|
|
|
"webpack-serve": "3.1.0"
|
2018-05-26 18:53:54 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2019-01-06 16:24:40 +00:00
|
|
|
"prop-types": "^15.6.2",
|
2019-03-30 12:53:10 +00:00
|
|
|
"react": "^16.8.6",
|
|
|
|
"react-dom": "^16.8.6",
|
2019-04-16 18:03:41 +00:00
|
|
|
"react-transition-group": "^4.0.0"
|
2018-05-26 18:53:54 +00:00
|
|
|
}
|
|
|
|
}
|