Newer
Older
"version": "1.0.0",
"description": "The node.js requirements to build this project.",
"author": "Fredrik Jonsson",
"license": "GPL-2.0",
"browserslist": [
"> 3%",
"Firefox ESR",
"last 2 versions"
],
"dependencies": {
"@rooks/use-interval": "^3.0.1",
"@tinymce/tinymce-react": "^3.12.6",
"connected-react-router": "^6.9.1",
"core-js": "^3.15.2",
"date-fns": "^2.22.1",
"lodash.isequal": "^4.5.0",
"lodash.pick": "^4.4.0",
"prop-types": "^15.7.2",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-modal": "^3.14.3",
"react-redux": "^7.2.4",
"react-router-dom": "^5.2.0",
"react-rte": "^0.16.3",
"smoothscroll-polyfill": "^0.4.4",
"@babel/core": "^7.16.12",
"@babel/eslint-parser": "^7.16.5",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^21.2.0",
"css-loader": "^2.1.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^8.7.0",
"eslint-plugin-react": "^7.28.0",
"identity-obj-proxy": "^3.0.0",
"istanbul-reports": "^3.0.2",
"react-hot-loader": "^4.8.4",
"stylelint": "^14.3.0",
"stylelint-config-standard-scss": "^3.0.0",
"stylelint-scss": "^4.1.0",
"webpack-cli": "4.9.0",
"webpack-dev-server": "4.7.4",
"scripts": {
"heroku-postbuild": "npm run build",
"build": "npm run build:css && npm run build:js",
"build:js": "webpack --config ./hypha/static_src/src/app/webpack.prod.config.js",
"build:css": "sass ./hypha/static_src/src/sass:./hypha/static_compiled/css --load-path ./hypha/static_src/src/sass --no-source-map",
"watch": "concurrently \"npm:watch:css\" \"npm:watch:js\" \"npm:watch:static\"",
"watch:js": "webpack serve --config ./hypha/static_src/src/app/webpack.dev.config.js",
"watch:css": "sass --watch ./hypha/static_src/src/sass:./hypha/static_compiled/css --load-path ./hypha/static_src/src/sass",
"watch:static": "nodemon --delay 3 --exec \"npm run collectstatic\" --watch ./hypha/static_compiled --ext css,js,json,png,svg",
"watch:lint": "nodemon --exec \"npm run lint\" --watch ./hypha/static_src/src/sass --watch ./hypha/static_src/src/javscript --ext scss,js",
"dev:build": "npm run clean && npm run dev:build:css && npm run dev:build:js && npm run collectstatic",
"dev:build:css": "sass ./hypha/static_src/src/sass:./hypha/static_compiled/css --load-path ./hypha/static_src/src/sass",
"dev:build:js": "npm run build:js && mv ./hypha/static_compiled/app/webpack-stats-prod.json ./hypha/static_compiled/app/webpack-stats.json",
"lint-app:css": "stylelint \"hypha/static_src/src/app/src/**/*.scss\"",
"lint:css": "stylelint \"hypha/static_src/src/sass/**/*.scss\"",
"lint:js": "eslint \"hypha/static_src/src/javascript/**/*.js\"",
"lint": "npm run lint:css && npm run lint:js",
"test": "NODE_ENV=test jest",
"test:ci": "NODE_ENV=test jest --runInBand",
"test:watch": "NODE_ENV=test jest --watch",
"test:coverage": "NODE_ENV=test jest --coverage",
"updateSnapshot": "NODE_ENV=test jest --updateSnapshot",
"collectstatic": "python manage.py collectstatic --no-post-process --noinput --verbosity 0",
"clean": "rm -rf ./static ./hypha/static_compiled"
},
"engines": {
"node": "16.13.x"