85 lines
2.9 KiB
JSON
85 lines
2.9 KiB
JSON
{
|
|
"name": "payload",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"nodemonConfig": {
|
|
"ignore": [
|
|
"src/client/*",
|
|
"demo/client/*"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"test": "node ./node_modules/jest/bin/jest.js src/tests",
|
|
"cov": "npm run core:build && node ./node_modules/jest/bin/jest.js src/tests --coverage",
|
|
"core:watch": "./node_modules/.bin/babel src --out-dir dist --source-maps --watch",
|
|
"core:build": "./node_modules/.bin/babel src --out-dir dist --source-maps",
|
|
"build-demo-css": "node-sass-chokidar --include-path ./src/client/scss demo/ -o demo/",
|
|
"watch-demo-css": "npm run build-demo-css && node-sass-chokidar --include-path ./src/client/scss demo/ -o demo/ --watch --recursive",
|
|
"build-module-css": "node-sass-chokidar --include-path ./src/client/scss src/ -o src/",
|
|
"watch-module-css": "npm run build-demo-css && node-sass-chokidar --include-path ./src/client/scss src/ -o src/ --watch --recursive",
|
|
"webpack": "webpack-dev-server --mode development --config config/webpack.dev.config.js --open --hot --history-api-fallback",
|
|
"demo-server": "nodemon demo/server.js",
|
|
"dev": "npm-run-all -p watch-module-css watch-demo-css webpack demo-server"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"body-parser": "^1.18.3",
|
|
"dotenv": "^6.0.0",
|
|
"file-loader": "^1.1.11",
|
|
"ignore-styles": "^5.0.1",
|
|
"react": "^16.4.1",
|
|
"react-document-meta": "^3.0.0-beta.2",
|
|
"react-dom": "^16.4.1",
|
|
"react-redux": "^5.0.7",
|
|
"react-router-dom": "^4.3.1",
|
|
"redux": "^4.0.0",
|
|
"superagent": "^3.8.3",
|
|
"superagent-promise": "^1.1.0",
|
|
"url-loader": "^1.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.0.0",
|
|
"@babel/core": "^7.0.0",
|
|
"@babel/plugin-transform-modules-commonjs": "^7.0.0",
|
|
"@babel/preset-env": "^7.0.0",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"autoprefixer": "^9.0.1",
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"babel-jest": "^23.6.0",
|
|
"babel-loader": "^8.0.2",
|
|
"circular-dependency-plugin": "^5.0.2",
|
|
"css-loader": "^1.0.0",
|
|
"eslint": "^4.19.1",
|
|
"eslint-plugin-react": "^7.10.0",
|
|
"express": "^4.16.3",
|
|
"extract-text-webpack-plugin": "^4.0.0-beta.0",
|
|
"html-webpack-plugin": "^3.2.0",
|
|
"jest": "^22.4.4",
|
|
"mongoose": "^5.2.5",
|
|
"node-sass": "^4.9.2",
|
|
"node-sass-chokidar": "^1.3.3",
|
|
"nodemon": "^1.18.3",
|
|
"npm-run-all": "^4.1.3",
|
|
"optimize-css-assets-webpack-plugin": "^5.0.0",
|
|
"postcss-flexbugs-fixes": "^3.3.1",
|
|
"postcss-loader": "^2.1.6",
|
|
"sass-loader": "^7.0.3",
|
|
"style-loader": "^0.21.0",
|
|
"supertest": "^3.1.0",
|
|
"uglifyjs-webpack-plugin": "^1.2.7",
|
|
"webpack": "^4.16.3",
|
|
"webpack-cli": "^3.1.0",
|
|
"webpack-dev-server": "^3.1.5",
|
|
"webpack-merge": "^4.1.3"
|
|
},
|
|
"jest": {
|
|
"verbose": true,
|
|
"testURL": "http://localhost/",
|
|
"transform": {
|
|
"^.+\\.(j|t)s$": "babel-jest"
|
|
}
|
|
}
|
|
}
|