rails/react-components/package.json
{
"name": "rigse-react-components",
"version": "1.0.0",
"description": "Concord Portal React Components",
"main": "server/index.js",
"engines": {
"node": ">=18"
},
"scripts": {
"lint": "eslint \"./src/**/*.{js,jsx,ts,tsx}\" \"./tests/**/*.{js,jsx,ts,tsx}\"",
"lint:fix": "eslint --fix \"./src/**/*.{js,jsx,ts,tsx}\" \"./tests/**/*.{js,jsx,ts,tsx}\"",
"lint:style": "eslint -c \".eslintrc.style.js\" \"./src/**/*.{js,jsx,ts,tsx}\" \"./tests/**/*.{js,jsx,ts,tsx}\"",
"lint:style:fix": "eslint --fix -c \".eslintrc.style.js\" \"./src/**/*.{js,jsx,ts,tsx}\" \"./tests/**/*.{js,jsx,ts,tsx}\"",
"build": "cross-env NODE_ENV=production webpack",
"dev:build": "cross-env NODE_ENV=development webpack",
"build:watch": "cross-env NODE_ENV=development webpack --watch",
"test": "jest",
"test:watch": "jest --watch",
"stats": "cross-env NODE_ENV=production webpack --profile --json > stats.json"
},
"jest": {
"preset": "ts-jest/presets/js-with-ts",
"setupFilesAfterEnv": [
"<rootDir>/setupTests.ts"
],
"testEnvironment": "jsdom",
"testEnvironmentOptions": {
"url": "http://portal-test.concord.org"
},
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"testPathIgnorePatterns": [
"/node_modules/",
"/cypress/"
],
"coveragePathIgnorePatterns": [
"/node_modules/"
],
"moduleNameMapper": {
"\\.(css|scss|sass)$": "identity-obj-proxy"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/concord-consortium/portal-pages.git"
},
"author": "Doug Martin",
"license": "MIT",
"bugs": {
"url": "https://github.com/concord-consortium/portal-pages/issues"
},
"homepage": "https://github.com/concord-consortium/portal-pages#readme",
"devDependencies": {
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^16.0.0",
"@types/jest": "^29.5.12",
"@types/jquery": "^3.5.30",
"@types/node": "^20.14.2",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react-modal": "^3.16.3",
"@types/throttle-debounce": "^5.0.2",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^7.12.0",
"@typescript-eslint/parser": "^7.12.0",
"copy-webpack-plugin": "^12.0.2",
"cross-env": "^7.0.3",
"css-loader": "^7.1.2",
"eslint": "^8.57.0",
"eslint-config-react": "^1.1.7",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-react": "^7.34.2",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-testing-library": "^6.2.2",
"eslint-webpack-plugin": "^4.2.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.6.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jquery": "^3.7.1",
"live-server": "^1.2.2",
"mini-css-extract-plugin": "^2.9.0",
"nock": "^13.5.4",
"react-select": "^5.8.0",
"sass": "^1.77.4",
"sass-loader": "^14.2.1",
"style-loader": "^4.0.0",
"ts-jest": "^29.1.4",
"ts-loader": "^9.5.1",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4"
},
"dependencies": {
"@dnd-kit/core": "^6.1.0",
"@dnd-kit/sortable": "^8.0.0",
"@dnd-kit/utilities": "^3.2.2",
"clsx": "^2.1.1",
"create-react-class": "^15.7.0",
"formsy-react": "^2.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-modal": "^3.16.1",
"throttle-debounce": "^2.3.0",
"uuid": "^9.0.1"
}
}