{ "name": "remark42", "version": "0.16.0", "license": "MIT", "scripts": { "build": "webpack --mode production", "build:analyze": "webpack --mode production --analyze", "start": "cross-env REMARK_API_BASE_URL=https://demo.remark42.com webpack serve --mode development", "dev": "cross-env REMARK_URL=http://127.0.0.1:8080 webpack serve --mode development", "lint": "run-p lint:*", "test": "jest", "test:coverage": "jest --coverage", "check": "cross-env NODE_ENV=production run-s build && run-p check:*", "check:types": "tsc -p tsconfig.json --noEmit", "check:translation": "run-s translation:extract translation:check", "lint:eslint": "eslint --max-warnings=0 \"**/*.{ts?(x),js}\"", "lint:stylelint": "stylelint \"app/**/*.css\" \"templates/**\"", "size": "cross-env NODE_ENV=production npm run build && size-limit", "prettier": "prettier --write \"./**/*.{js,ts,tsx,css,html}\"", "translation:extract": "formatjs extract --out-file=./extracted-messages/messages.json \"**/*.{ts,tsx}\" --ignore=\"**/*.d.ts\"", "translation:generate": "node ./tasks/generateDictionary.js", "translation:check": "node ./tasks/checkTranslation.js" }, "engines": { "node": ">=16.15 <=17.*", "npm": ">=8.1.0 <=8.*" }, "dependencies": { "@github/markdown-toolbar-element": "^2.1.1", "@github/text-expander-element": "^2.2.2", "@ungap/custom-elements": "^1.1.0", "bem-react-helper": "^1.2.2", "clsx": "^1.1.1", "core-js": "^3.23.3", "intersection-observer": "^0.12.2", "lodash-es": "^4.17.21", "node-emoji": "^1.11.0", "preact": "10.6.2", "react": "npm:@preact/compat@^17.1.1", "react-dom": "npm:@preact/compat@^17.1.1", "react-intl": "^6.0.4", "react-redux": "^8.0.2", "redux": "^4.2.0", "redux-thunk": "^2.4.1" }, "devDependencies": { "@babel/core": "^7.18.6", "@babel/plugin-syntax-flow": "^7.18.6", "@babel/plugin-transform-react-jsx": "^7.18.6", "@babel/preset-env": "^7.18.6", "@babel/preset-react": "^7.18.6", "@formatjs/cli": "^5.0.2", "@mavrin/stylelint-declaration-use-css-custom-properties": "^2.0.0", "@prefresh/babel-plugin": "^0.4.3", "@prefresh/webpack": "^3.3.4", "@size-limit/file": "^7.0.8", "@swc/core": "1.2.205", "@swc/jest": "^0.2.21", "@testing-library/jest-dom": "^5.16.4", "@testing-library/preact": "^3.2.2", "@types/enzyme": "^3.10.12", "@types/eslint": "^8.4.5", "@types/jest": "^28.1.4", "@types/lodash-es": "^4.17.6", "@types/node": "^18.0.1", "@types/node-emoji": "^1.8.1", "@types/react-redux": "^7.1.24", "@types/redux-mock-store": "^1.0.3", "@types/testing-library__jest-dom": "^5.14.5", "@types/webpack-env": "^1.17.0", "@typescript-eslint/eslint-plugin": "^5.30.3", "@typescript-eslint/parser": "^5.30.3", "babel-loader": "^8.2.5", "babel-plugin-jsx-remove-data-test-id": "^3.0.0", "clean-webpack-plugin": "^4.0.0", "codecov": "^3.8.3", "cross-env": "^7.0.3", "css-loader": "^6.7.1", "css-minimizer-webpack-plugin": "^4.0.0", "cssnano": "^5.1.12", "dotenv": "^16.0.1", "enzyme": "^3.11.0", "enzyme-adapter-preact-pure": "^4.0.1", "eslint": "^8.18.0", "eslint-config-preact": "^1.3.0", "eslint-config-prettier": "^8.5.0", "eslint-config-react-app": "^7.0.1", "eslint-plugin-flowtype": "^8.0.3", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jsx-a11y": "^6.6.0", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.30.1", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-testing-library": "^5.5.1", "fast-async": "^6.3.8", "file-loader": "^6.2.0", "fork-ts-checker-webpack-plugin": "^7.2.11", "html-webpack-plugin": "^5.5.0", "husky": "^8.0.1", "identity-obj-proxy": "^3.0.0", "incstr": "^1.2.3", "jest": "^28.1.2", "jest-environment-jsdom": "^28.1.2", "jest-fetch-mock": "^3.0.3", "jest-localstorage-mock": "^2.4.21", "lint-staged": "^13.0.3", "mini-css-extract-plugin": "^2.6.1", "npm-run-all": "^4.1.5", "postcss": "^8.4.14", "postcss-html": "^1.4.1", "postcss-loader": "^7.0.0", "postcss-preset-env": "^7.7.2", "prettier": "^2.7.1", "redux-mock-store": "^1.5.4", "size-limit": "^7.0.8", "style-loader": "^3.3.1", "stylelint": "^14.9.1", "stylelint-config-prettier": "^9.0.3", "stylelint-config-standard": "^26.0.0", "stylelint-value-no-unknown-custom-properties": "^4.0.0", "ts-loader": "^9.3.1", "ts-node": "^10.8.1", "tsconfig-paths-webpack-plugin": "^3.5.2", "typescript": "^4.7.4", "url-loader": "^4.1.1", "webpack": "^5.73.0", "webpack-bundle-analyzer": "^4.5.0", "webpack-cli": "^4.10.0", "webpack-dev-server": "^4.9.3" } }