ocrcc-chatbox/package.json

89 lines
2.4 KiB
JSON

{
"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-serve --config ./webpack.config.js --mode development --open",
"test": "jest",
"test-update-snapshots": "jest --updateSnapshot",
"deploy": "npm run build && cp ./public/* ./dist/. && gh-pages -d dist"
},
"babel": {
"presets": [
"airbnb",
"stage-2"
]
},
"jest": {
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"collectCoverageFrom": [
"<rootDir>/src/**/*.js?(x)"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test-helpers/"
],
"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"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
},
"serve": {
"content": [
"./dist",
"./public"
]
},
"author": "seriousben https://github.com/seriousben",
"license": "MIT",
"devDependencies": {
"babel-core": "6.26.3",
"babel-eslint": "10.0.1",
"babel-jest": "23.6.0",
"babel-loader": "8.0.6",
"babel-preset-airbnb": "2.6.0",
"babel-preset-stage-2": "6.24.1",
"clean-webpack-plugin": "2.0.2",
"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": "23.6.0",
"jest-cli": "23.6.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.32.2",
"webpack-cli": "3.3.2",
"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"
}
}