package.json
{
"name": "@anyone-oslo/pages",
"version": "3.15.0",
"description": "Frontend for Pages",
"repository": {
"type": "git",
"url": "git+https://github.com/anyone_oslo/pages.git"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"/dist/**/*"
],
"dependencies": {
"@fortawesome/fontawesome-free": "^6.2.1",
"@rails/ujs": "7.1.3-2",
"@types/lodash": "^4.17.1",
"@types/rails__ujs": "^6.0.4",
"@types/react": "^18.3.2",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.18",
"cssnano": "^6.1.0",
"lodash": "^4.17.21",
"normalize.css": "^8.0.1",
"postcss": "^8.4.35",
"postcss-calc": "^9.0.1",
"postcss-cli": "^11.0.0",
"postcss-import": "^16.0.1",
"postcss-import-ext-glob": "^2.1.1",
"postcss-mixins": "^10.0.0",
"postcss-preset-env": "^9.5.0",
"postcss-url": "^10.1.3",
"prop-types": "^15.8.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-image-crop": "^5.0.0",
"react_ujs": "^3.2.0",
"typescript": "^5.4.5",
"zustand": "^4.5.2"
},
"devDependencies": {
"@types/prop-types": "^15",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",
"dependency-cruiser": "^16.2.3",
"esbuild": "^0.21.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.34.0",
"eslint-plugin-react-hooks": "^4.6.0",
"prettier": "^3.2.5"
},
"scripts": {
"architecture": "depcruise --include-only \"^app/javascript\" --output-type dot app/javascript | dot -T svg > dependency-graph.svg",
"lint": "eslint 'app/javascript/**/*.+(js|jsx|ts|tsx)'",
"build": "run build-debug --minify",
"build-debug": "esbuild app/javascript/admin-dist.ts --bundle --sourcemap --outdir=app/assets/builds/pages_core --target=es2020,chrome64,edge79,firefox62,safari11.1",
"build-dist": "tsc",
"build:css": "postcss ./app/assets/stylesheets/pages_core/admin.postcss.css -o ./app/assets/builds/pages_core/admin.css",
"prettier": "prettier app/javascript app/assets/stylesheets --check",
"prettier:fix": "prettier app/javascript app/assets/stylesheets --write"
},
"packageManager": "yarn@4.1.1",
"bugs": {
"url": "https://github.com/anyone_oslo/pages/issues"
},
"homepage": "https://github.com/anyone_oslo/pages#readme",
"author": "Inge Jørgensen",
"license": "MIT"
}