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": {
|
|
|
|
"start": "webpack-serve --config ./webpack.config.js --mode development --open",
|
2018-05-30 01:56:01 +00:00
|
|
|
"test": "jest"
|
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-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-05-31 00:45:33 +00:00
|
|
|
"serve": {
|
|
|
|
"content": ["./dist", "./public"]
|
|
|
|
},
|
2018-05-26 18:53:54 +00:00
|
|
|
"author": "seriousben https://github.com/seriousben",
|
|
|
|
"license": "MIT",
|
|
|
|
"devDependencies": {
|
|
|
|
"babel-core": "^6.26.3",
|
|
|
|
"babel-eslint": "^8.2.3",
|
2018-05-30 01:56:01 +00:00
|
|
|
"babel-jest": "^23.0.1",
|
2018-05-26 18:53:54 +00:00
|
|
|
"babel-loader": "^7.1.4",
|
2018-05-30 01:56:01 +00:00
|
|
|
"babel-preset-airbnb": "^2.4.0",
|
2018-05-26 18:53:54 +00:00
|
|
|
"babel-preset-stage-2": "^6.24.1",
|
|
|
|
"css-loader": "^0.28.11",
|
2018-05-30 01:56:01 +00:00
|
|
|
"enzyme": "^3.3.0",
|
|
|
|
"enzyme-adapter-react-16": "^1.1.1",
|
2018-05-26 18:53:54 +00:00
|
|
|
"eslint": "^4.19.1",
|
|
|
|
"eslint-config-airbnb": "^16.1.0",
|
|
|
|
"eslint-import-resolver-webpack": "^0.10.0",
|
|
|
|
"eslint-plugin-import": "^2.12.0",
|
|
|
|
"eslint-plugin-jsx-a11y": "^6.0.3",
|
|
|
|
"eslint-plugin-react": "^7.8.2",
|
2018-05-30 01:56:01 +00:00
|
|
|
"jest": "^23.0.1",
|
|
|
|
"jest-cli": "^23.0.1",
|
2018-05-26 18:53:54 +00:00
|
|
|
"mini-css-extract-plugin": "^0.4.0",
|
|
|
|
"node-sass": "^4.9.0",
|
|
|
|
"sass-loader": "^7.0.1",
|
|
|
|
"style-loader": "^0.21.0",
|
|
|
|
"webpack": "^4.8.3",
|
|
|
|
"webpack-cli": "^2.1.3",
|
|
|
|
"webpack-serve": "^1.0.2"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"prop-types": "^15.6.1",
|
|
|
|
"react": "^16.3.2",
|
2018-05-30 01:56:01 +00:00
|
|
|
"react-dom": "^16.3.2",
|
|
|
|
"react-transition-group": "^2.3.1"
|
2018-05-26 18:53:54 +00:00
|
|
|
}
|
|
|
|
}
|