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": {
|
2018-06-09 13:47:19 +00:00
|
|
|
"build": "NODE_ENV=production webpack-cli --mode production",
|
2018-05-26 18:53:54 +00:00
|
|
|
"start": "webpack-serve --config ./webpack.config.js --mode development --open",
|
2018-06-03 18:28:12 +00:00
|
|
|
"test": "jest",
|
2018-06-03 18:56:18 +00:00
|
|
|
"test-update-snapshots": "jest --updateSnapshot",
|
2018-06-03 20:01:32 +00:00
|
|
|
"deploy": "npm run build && cp ./public/* ./dist/. && gh-pages -d dist"
|
2018-05-26 18:53:54 +00:00
|
|
|
},
|
|
|
|
"babel": {
|
|
|
|
"presets": [
|
2018-05-30 01:56:01 +00:00
|
|
|
"airbnb",
|
2018-05-26 18:53:54 +00:00
|
|
|
"stage-2"
|
|
|
|
]
|
|
|
|
},
|
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": {
|
|
|
|
"babel-core": "^6.26.3",
|
2018-08-28 02:16:43 +00:00
|
|
|
"babel-eslint": "^9.0.0",
|
2019-01-06 16:24:40 +00:00
|
|
|
"babel-jest": "^23.6.0",
|
2019-01-06 16:19:52 +00:00
|
|
|
"babel-loader": "^7.1.5",
|
2019-01-06 16:24:40 +00:00
|
|
|
"babel-preset-airbnb": "^2.6.0",
|
2018-05-26 18:53:54 +00:00
|
|
|
"babel-preset-stage-2": "^6.24.1",
|
2019-03-16 14:41:37 +00:00
|
|
|
"clean-webpack-plugin": "^2.0.0",
|
2019-01-06 16:24:40 +00:00
|
|
|
"css-loader": "^2.1.0",
|
2018-06-09 12:43:18 +00:00
|
|
|
"cssimportant-loader": "^0.4.0",
|
2019-01-06 16:24:40 +00:00
|
|
|
"enzyme": "^3.8.0",
|
|
|
|
"enzyme-adapter-react-16": "^1.7.1",
|
|
|
|
"enzyme-to-json": "^3.3.5",
|
|
|
|
"eslint": "^5.12.0",
|
2018-06-22 00:31:28 +00:00
|
|
|
"eslint-config-airbnb": "^17.0.0",
|
2019-01-06 16:24:40 +00:00
|
|
|
"eslint-import-resolver-webpack": "^0.10.1",
|
|
|
|
"eslint-plugin-import": "^2.14.0",
|
|
|
|
"eslint-plugin-jsx-a11y": "^6.1.2",
|
|
|
|
"eslint-plugin-react": "^7.12.3",
|
2018-10-04 16:10:03 +00:00
|
|
|
"gh-pages": "^2.0.1",
|
2019-01-06 16:24:40 +00:00
|
|
|
"jest": "^23.6.0",
|
2019-01-06 16:19:52 +00:00
|
|
|
"jest-cli": "^23.6.0",
|
2018-12-07 10:16:48 +00:00
|
|
|
"mini-css-extract-plugin": "^0.5.0",
|
2019-01-06 16:19:52 +00:00
|
|
|
"node-sass": "^4.11.0",
|
2018-06-09 12:43:18 +00:00
|
|
|
"postcss-increase-specificity": "^0.6.0",
|
2018-08-08 19:01:22 +00:00
|
|
|
"postcss-loader": "^3.0.0",
|
2019-01-06 16:24:40 +00:00
|
|
|
"sass-loader": "^7.1.0",
|
2018-08-27 18:19:51 +00:00
|
|
|
"style-loader": "^0.23.0",
|
2019-01-06 16:24:40 +00:00
|
|
|
"webpack": "^4.28.3",
|
|
|
|
"webpack-cli": "^3.2.0",
|
2018-06-27 09:07:03 +00:00
|
|
|
"webpack-obfuscator": "^0.17.0",
|
2019-04-01 20:15:54 +00:00
|
|
|
"webpack-serve": "^3.0.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-01-06 16:24:40 +00:00
|
|
|
"react-transition-group": "^2.5.2"
|
2018-05-26 18:53:54 +00:00
|
|
|
}
|
|
|
|
}
|