269 строки
8.5 KiB
JSON
269 строки
8.5 KiB
JSON
{
|
|
"name": "tanto",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "server.js",
|
|
"scripts": {
|
|
"build": "better-npm-run build",
|
|
"buildstats": "better-npm-run buildstats",
|
|
"check": "yarn run lint && yarn run test && yarn run flow",
|
|
"check-ci": "yarn run check && yarn run build",
|
|
"clean": "rm -rf static/dist *.log webpack-assets.json",
|
|
"dev": "concurrently --kill-others \"npm run watch-client\" \"npm run start-dev\"",
|
|
"flow": "flow --show-all-errors",
|
|
"lint": "eslint . --fix",
|
|
"start-dev": "better-npm-run start-dev",
|
|
"start-prod": "better-npm-run start-prod",
|
|
"start": "concurrently --kill-others \"npm run start-prod\"",
|
|
"restart": "concurrently --kill-others \"npm run restart-prod\"",
|
|
"storybook": "NODE_PATH=src/client:src/universal:src start-storybook -p 6006 -c storybook",
|
|
"storybook-windows": "better-npm-run storybook-windows",
|
|
"test-watch": "better-npm-run test-watch",
|
|
"test": "better-npm-run test",
|
|
"watch-client": "better-npm-run watch-client",
|
|
"git-checkout": "git checkout -f master && git pull",
|
|
"restart-prod": "yarn run git-checkout && yarn && yarn run build && better-npm-run restart-server"
|
|
},
|
|
"betterScripts": {
|
|
"storybook-windows": {
|
|
"command": "start-storybook -p 6006 -c storybook",
|
|
"env": {
|
|
"NODE_PATH": "src/client;src/universal;src"
|
|
}
|
|
},
|
|
"start-prod": {
|
|
"command": "forever start ./server.js &",
|
|
"env": {
|
|
"NODE_PATH": "./src",
|
|
"NODE_ENV": "production",
|
|
"PORT": 8084,
|
|
"HOST": "0.0.0.0"
|
|
}
|
|
},
|
|
"restart-server": {
|
|
"command": "forever restart ./server.js &",
|
|
"env": {
|
|
"NODE_PATH": "./src",
|
|
"NODE_ENV": "production",
|
|
"PORT": 8084,
|
|
"HOST": "0.0.0.0"
|
|
}
|
|
},
|
|
"start-dev": {
|
|
"command": "node ./server.js",
|
|
"env": {
|
|
"HOST": "127.0.0.1",
|
|
"NODE_PATH": "./src",
|
|
"NODE_ENV": "development",
|
|
"PORT": 3000
|
|
}
|
|
},
|
|
"watch-client": {
|
|
"command": "node webpack/server.js",
|
|
"env": {
|
|
"UV_THREADPOOL_SIZE": 100,
|
|
"NODE_PATH": "./src",
|
|
"PORT": 3000
|
|
}
|
|
},
|
|
"build": {
|
|
"command": "webpack --colors --display-error-details -p --config webpack/config.prod.js",
|
|
"env": {
|
|
"NODE_ENV": "production"
|
|
}
|
|
},
|
|
"buildstats": {
|
|
"command": "webpack --colors --display-error-details -p --config webpack/config.prod.js --json > stats.json",
|
|
"env": {
|
|
"NODE_ENV": "production"
|
|
}
|
|
},
|
|
"test": {
|
|
"command": "mocha-webpack --webpack-config webpack/config.test.js --recursive \"src/**/__tests__/*.js\" --full-trace --require source-map-support/register --require ignore-styles --colors",
|
|
"env": {
|
|
"NODE_ENV": "test"
|
|
}
|
|
},
|
|
"test-watch": {
|
|
"command": "mocha-webpack --webpack-config webpack/config.test.js --recursive src/**/__tests__/*.js --full-trace --require source-map-support/register --colors --watch",
|
|
"env": {
|
|
"NODE_ENV": "test"
|
|
}
|
|
}
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "",
|
|
"devDependencies": {
|
|
"autoprefixer": "^6.5.3",
|
|
"babel-eslint": "^7.1.1",
|
|
"babel-plugin-lodash": "^3.2.10",
|
|
"babel-plugin-react-transform": "^2.0.2",
|
|
"better-npm-run": "0.0.8",
|
|
"bootstrap-sass": "^3.3.5",
|
|
"bootstrap-sass-loader": "^1.0.9",
|
|
"clean-webpack-plugin": "^0.1.6",
|
|
"concurrently": "^3.1.0",
|
|
"css-loader": "^0.26.1",
|
|
"enzyme": "^2.5.1",
|
|
"esformatter-jsx": "^7.0.1",
|
|
"eslint": "^3.11.1",
|
|
"eslint-config-airbnb": "^9.0.1",
|
|
"eslint-import-resolver-babel-module-alias": "^1.2.0",
|
|
"eslint-loader": "^1.3.0",
|
|
"eslint-plugin-jsx-a11y": "^2.2.2",
|
|
"eslint-plugin-react": "^5.1.1",
|
|
"extract-text-webpack-plugin": "2.0.0-beta.4",
|
|
"flow-bin": "^0.38.0",
|
|
"font-awesome-webpack": "0.0.4",
|
|
"json-loader": "^0.5.4",
|
|
"mocha": "^3.2.0",
|
|
"mocha-webpack": "^0.7.0",
|
|
"mock-local-storage": "^1.0.2",
|
|
"node-sass": "^4.1.1",
|
|
"postcss-loader": "^1.2.1",
|
|
"react-addons-test-utils": "^0.14.0",
|
|
"react-grid-layout": "^0.12.3",
|
|
"react-transform-catch-errors": "^1.0.0",
|
|
"react-transform-hmr": "^1.0.4",
|
|
"redbox-react": "^1.1.1",
|
|
"redux-promise": "^0.5.3",
|
|
"sass-loader": "^4.1.1",
|
|
"sinon": "^1.17.2",
|
|
"source-map-support": "^0.4.5",
|
|
"strip-loader": "^0.1.0",
|
|
"style-loader": "^0.13.1",
|
|
"webpack": "^2.2.1",
|
|
"webpack-dev-middleware": "^1.6.1",
|
|
"webpack-hot-middleware": "^2.10.0",
|
|
"webpack-node-externals": "^1.5.4",
|
|
"worker-loader": "^0.8.0"
|
|
},
|
|
"dependencies": {
|
|
"@kadira/storybook": "^2.21.0",
|
|
"asynch": "^0.5.2",
|
|
"babel": "^6.5.2",
|
|
"babel-cli": "^6.18.0",
|
|
"babel-core": "^6.5.2",
|
|
"babel-loader": "^6.2.8",
|
|
"babel-plugin-add-module-exports": "^0.1.2",
|
|
"babel-plugin-module-alias": "^1.4.0",
|
|
"babel-plugin-transform-class-properties": "^6.19.0",
|
|
"babel-plugin-transform-object-rest-spread": "^6.16.0",
|
|
"babel-plugin-transform-runtime": "^6.3.13",
|
|
"babel-polyfill": "^6.3.14",
|
|
"babel-preset-es2015": "^6.3.13",
|
|
"babel-preset-node6": "^11.0.0",
|
|
"babel-preset-react": "^6.5.0",
|
|
"babel-preset-stage-2": "^6.18.0",
|
|
"babel-register": "^6.3.13",
|
|
"babel-runtime": "^6.3.19",
|
|
"body-parser": "^1.14.1",
|
|
"browser-request": "^0.3.3",
|
|
"chai": "^3.5.0",
|
|
"chai-as-promised": "^6.0.0",
|
|
"chai-spies": "^0.7.1",
|
|
"chai-subset": "^1.3.0",
|
|
"chalk": "^1.1.3",
|
|
"compression": "^1.6.0",
|
|
"connect-redis": "^3.1.0",
|
|
"cookie-parser": "^1.4.3",
|
|
"dotenv": "^2.0.0",
|
|
"draft-js": "^0.9.1",
|
|
"draft-js-ast-exporter": "^0.0.3",
|
|
"draft-js-ast-importer": "^0.0.3",
|
|
"draft-js-emoji-plugin": "^2.0.0-beta1",
|
|
"draft-js-hashtag-plugin": "^2.0.0-beta1",
|
|
"draft-js-linkify-plugin": "^2.0.0-beta1",
|
|
"draft-js-mention-plugin": "^2.0.0-beta1",
|
|
"draft-js-plugins-editor": "^2.0.0-beta1",
|
|
"envalid": "^2.4.1",
|
|
"errorhandler": "^1.4.3",
|
|
"eslint-import-resolver-webpack": "^0.8.0",
|
|
"eslint-plugin-flowtype": "^2.30.0",
|
|
"eslint-plugin-import": "^2.2.0",
|
|
"express": "^4.15.2",
|
|
"express-promise": "^0.4.0",
|
|
"express-promise-router": "^1.1.1",
|
|
"express-session": "^1.14.2",
|
|
"express-status-monitor": "^0.1.5",
|
|
"express-validator": "^2.21.0",
|
|
"fbjs": "^0.8.9",
|
|
"fetch-mock": "^5.5.0",
|
|
"file-loader": "^0.9.0",
|
|
"font-awesome": "^4.7.0",
|
|
"fontfaceobserver": "^2.0.7",
|
|
"form-data": "^2.1.1",
|
|
"fuzzy": "^0.1.3",
|
|
"graphql": "^0.6.0",
|
|
"helmet": "^3.5.0",
|
|
"http-proxy-middleware": "^0.17.2",
|
|
"ignore-loader": "^0.1.2",
|
|
"ignore-styles": "^5.0.1",
|
|
"isomorphic-fetch": "^2.2.1",
|
|
"jsdom": "^9.9.1",
|
|
"kafka-node": "^0.3.2",
|
|
"less": "^2.7.1",
|
|
"lodash": "^4.16.4",
|
|
"lodash-webpack-plugin": "^0.11.0",
|
|
"lusca": "^1.4.1",
|
|
"marked": "^0.3.6",
|
|
"material-ui": "^0.16.4",
|
|
"mockery": "^2.0.0",
|
|
"moment": "^2.13.0",
|
|
"morgan": "^1.7.0",
|
|
"node-noop": "^1.0.0",
|
|
"node-schedule": "^1.2.0",
|
|
"normalizr": "^3.1.0",
|
|
"passport": "^0.3.2",
|
|
"passport-oauth2": "^1.3.0",
|
|
"piping": "^1.0.0-rc.4",
|
|
"prismjs": "^1.5.1",
|
|
"raw-loader": "^0.5.1",
|
|
"react": "^15.1.0",
|
|
"react-addons-transition-group": "^15.4.2",
|
|
"react-bootstrap": "^0.30.7",
|
|
"react-copy-to-clipboard": "^4.0.0",
|
|
"react-dom": "^15.1.0",
|
|
"react-helmet": "^2.2.0",
|
|
"react-redux": "^4.0.0",
|
|
"react-responsive": "^1.1.3",
|
|
"react-router": "^2.4.1",
|
|
"react-router-redux": "^4.0.0",
|
|
"react-rte": "^0.11.0",
|
|
"react-scroll": "^1.0.24",
|
|
"react-select": "^1.0.0-rc.3",
|
|
"react-simple-pie-chart": "^0.4.0",
|
|
"react-sticky": "^5.0.5",
|
|
"react-tap-event-plugin": "^2.0.1",
|
|
"react-textarea-autosize": "^4.0.5",
|
|
"react-virtualized": "^9.2.2",
|
|
"react-virtualized-select": "^2.3.0",
|
|
"redis": "^2.6.5",
|
|
"redux": "^3.0.4",
|
|
"redux-form-validation": "0.0.6",
|
|
"redux-localstorage": "^0.4.0",
|
|
"redux-logger": "^2.7.4",
|
|
"redux-mock-store": "^1.2.1",
|
|
"redux-saga": "^0.12.0",
|
|
"redux-worker-middleware": "^1.0.0",
|
|
"request": "^2.76.0",
|
|
"reselect": "^2.5.4",
|
|
"scroll-behavior": "^0.3.2",
|
|
"serve-favicon": "^2.3.0",
|
|
"slack-proxy": "^8.2.8",
|
|
"socket.io": "^1.3.7",
|
|
"socket.io-client": "^1.3.7",
|
|
"storybook-addon-material-ui": "^0.7.4",
|
|
"url-join": "^1.1.0",
|
|
"url-loader": "^0.5.7",
|
|
"uuid": "^2.0.3",
|
|
"webpack-bundle-analyzer": "^2.2.1",
|
|
"webpack-isomorphic-tools": "^2.6.4",
|
|
"whatwg-fetch": "^2.0.0"
|
|
},
|
|
"engines": {
|
|
"node": "7.2.0"
|
|
}
|
|
}
|