network-pulse/package.json

114 строки
4.5 KiB
JSON

{
"name": "network-pulse",
"version": "2.0.0",
"description": "",
"main": "dist/server.bundle.js",
"scripts": {
"bootstrap": "shx rm -rf dist && shx mkdir dist",
"start": "npm run build && run-p server watch:**",
"build": "run-s bootstrap build:**",
"heroku-postbuild": "echo Skip builds on Heroku",
"build:client": "run-s build-client:**",
"build-client:js": "webpack --config webpack.config.js --display-error-details --colors",
"build-client:scss": "node-sass scss/main.scss dist/css/main.css",
"build-client:prefix:main": "postcss --use autoprefixer -o dist/css/main.css dist/css/main.css",
"build-client:static": "run-s copy:**",
"build:server": "webpack --config webpack.server.config.js --display-error-details --colors",
"copy:styling-dependency": "run-s bootstrap:clean bootstrap:fontawesome bootstrap:prefix",
"bootstrap:clean": "shx cp -r node_modules/mofo-bootstrap/dest/css dist",
"bootstrap:fontawesome": "shx cp -r node_modules/font-awesome/css/font-awesome.min.css dist/css && shx cp -r node_modules/font-awesome/fonts dist",
"bootstrap:prefix": "postcss --use autoprefixer -o dist/css/mofo-bootstrap.css dist/css/mofo-bootstrap.css",
"copy:manifest": "shx cp manifest.json dist",
"copy:contributejson": "shx cp contribute.json dist",
"copy:assets": "shx cp -r assets dist",
"server": "node dist/server.bundle.js",
"optimize": "run-p optimize:**",
"optimize:svg": "find assets -type f -name \"*.svg\" -print0 | xargs -0 -n 1 -P 6 svgo --multipass --pretty --enable=removeTitle",
"optimize:png": "find assets -type f -name \"*.png\" -print0 | xargs -0 -n 1 -P 6 optipng",
"watch:css": "chokidar \"components/**/*.scss\" \"pages/**/*.scss\" \"scss/**/*.scss\" -c \"npm run build-client:scss\"",
"watch:js": "chokidar \"app.jsx\" \"main.jsx\" \"js/**/*.js\" \"components/**/*.js?(x)\" \"pages/**/*.js?(x)\" \"webpack.config.js\" -c \"npm run build-client:js\"",
"test": "run-s test:**",
"test:eslint": "eslint --config ./.eslintrc.json \"*.js\" \"*.jsx\" \"js/**/*.js\" \"components/**/*.jsx\" \"pages/**/*.jsx\" \"pages/**/*.js\" webpack.config.js",
"test:scss:styleguide:color": "stylelint \"components/**/*.scss\" \"pages/**/*.scss\" \"scss/**/*.scss\" \"!scss/foundation-styles/_variables.scss\" \"!scss/**/variables.scss\" \"!scss/overrides/_variables.scss\" --syntax scss --config .stylelintrc-colors.js",
"test:scss": "stylelint --config .stylelintrc \"components/**/*.scss\" \"pages/**/*.scss\" \"scss/**/*.scss\" --syntax scss",
"postinstall": "npm run build"
},
"babel": {
"presets": [
"es2015",
"react"
]
},
"browserslist": [
"> 1%",
"last 2 versions"
],
"repository": {
"type": "git",
"url": "git+https://github.com/mozilla/network-pulse.git"
},
"author": "Mozilla",
"license": "MPL-2.0",
"bugs": {
"url": "https://github.com/mozilla/network-pulse/issues"
},
"homepage": "https://github.com/mozilla/network-pulse#readme",
"devDependencies": {
"chokidar": "^2.1.5",
"chokidar-cli": "^1.2.2",
"eslint": "^5.16.0",
"eslint-config-prettier": "^4.2.0",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.13.0",
"optipng-bin": "^5.1.0",
"stylelint": "^9.10.1",
"stylelint-config-standard": "^16.0.0",
"stylelint-prettier": "^1.1.1",
"svgo": "^1.3.0",
"webpack-cli": "^2.1.3"
},
"dependencies": {
"autoprefixer": "^8.6.5",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.5",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"browserslist": "^3.2.6",
"classnames": "^2.2.5",
"document-env-vars": "^2.1.0",
"dotenv": "^4.0.0",
"event-stream": "3.3.4",
"express": "^4.16.4",
"font-awesome": "^4.7.0",
"helmet": "^3.18.0",
"lodash": "^4.17.15",
"mofo-bootstrap": "4.0.1",
"mofo-ui": "^1.7.0",
"moment": "^2.24.0",
"node-sass": "^4.12.0",
"npm-run-all": "^4.1.5",
"postcss-cli-simple": "^1.0.3",
"prop-types": "^15.7.2",
"qs": "^6.7.0",
"react": "^15.6.2",
"react-debounce-input": "^3.2.0",
"react-dom": "^15.6.2",
"react-formbuilder": "^0.10.0",
"react-ga": "^2.6.0",
"react-helmet": "^5.2.1",
"react-markdown": "^3.6.0",
"react-modal": "^3.9.1",
"react-router": "^4.2.0",
"react-router-dom": "^4.2.2",
"react-select": "^1.3.0",
"react-tag-autocomplete": "^5.11.1",
"shx": "^0.2.1",
"url": "^0.11.0",
"webpack": "^2.7.0"
},
"engines": {
"node": "^8.9.0",
"npm": "^6.0.0"
}
}