@metricinsights/pp-dev
Version:
Portal Page dev build tool
152 lines (151 loc) • 4.3 kB
JSON
{
"name": "@metricinsights/pp-dev",
"type": "module",
"version": "0.12.3",
"description": "Portal Page dev build tool",
"bin": {
"pp-dev": "bin/pp-dev.js"
},
"main": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"scripts": {
"clean": "rimraf ./dist",
"prebuild": "npm run clean",
"build": "npm run build:parallel",
"build:parallel": "npm run build:node && npm run build:client",
"build:node": "rollup --config rollup.config.ts --configPlugin typescript && node scripts/postbuild.js",
"build:client": "rollup --config src/client/rollup.config.ts --configPlugin typescript",
"build:watch": "rollup --config rollup.config.ts --configPlugin typescript --watch",
"build:analyze": "rollup --config rollup.config.ts --configPlugin typescript --configPlugin rollup-plugin-visualizer",
"build:fast": "npm run build:parallel",
"build:optimize": "tsx scripts/build-optimizer.js",
"postbuild": "npm pack && node scripts/rename-pack.js",
"startup:optimize": "tsx scripts/startup-optimizer.js",
"startup:profile": "node --prof bin/pp-dev.js",
"test": "cd test && npm run build",
"release": "semantic-release",
"version": "npm version --commit-hooks false --git-tag-version false"
},
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./helpers": {
"types": "./dist/types/helpers.d.ts",
"import": "./dist/esm/helpers.js",
"require": "./dist/cjs/helpers.js"
},
"./plugin": {
"types": "./dist/types/plugin.d.ts",
"import": "./dist/esm/plugin.js",
"require": "./dist/cjs/plugin.js"
},
"./client/*": "./dist/client/*",
"./package.json": "./package.json"
},
"author": "Serhii Shpak",
"typesVersions": {
">=4.2": {
"*": [
"./dist/types/*"
]
}
},
"license": "ISC",
"engines": {
"node": ">=22.14"
},
"peerDependencies": {
"next": ">= 13 < 16"
},
"peerDependenciesMeta": {
"next": {
"optional": true,
"description": "Required for Next.js development server functionality"
}
},
"dependencies": {
"axios": "^1.7.8",
"cac": "^6.7.14",
"chokidar": "^4.0.3",
"deepmerge-ts": "^7.1.3",
"diff-match-patch": "^1.0.5",
"dir-compare": "^5.0.0",
"ejs": "^3.1.10",
"express": "^4.21.1",
"extract-zip": "^2.0.1",
"file-type": "^19.6.0",
"formdata-node": "^6.0.3",
"http-proxy-middleware": "^3.0.3",
"isbinaryfile": "^5.0.4",
"jsdom": "^25.0.1",
"memory-cache": "^0.2.0",
"picocolors": "^1.1.1",
"rollup": "^4.40.0",
"sass": "^1.87.0",
"sharp": "^0.33.5",
"source-map-support": "^0.5.21",
"svgo": "^3.3.2",
"svgtofont": "^6.0.1",
"typescript": "^5.6.0",
"vite": "^6.3.3",
"vite-plugin-image-optimizer": "^1.1.8",
"vite-plugin-zip-pack": "^1.2.4",
"winston": "^3.17.0"
},
"devDependencies": {
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.1",
"@rollup/plugin-url": "^8.0.2",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/diff": "^6.0.0",
"@types/diff-match-patch": "^1.0.36",
"@types/ejs": "^3.1.5",
"@types/express": "^5.0.0",
"@types/jsdom": "^21.1.7",
"@types/memory-cache": "^0.2.6",
"@types/node": "^22.15.0",
"esbuild": "^0.25.8",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"rollup-plugin-dts": "^6.2.1",
"rollup-plugin-scss": "^4.0.1",
"rollup-plugin-visualizer": "^5.12.0",
"semantic-release": "^25.0.2",
"semantic-release-monorepo": "^8.0.2",
"tslib": "^2.8.1",
"tsx": "^4.19.2"
},
"files": [
"bin",
"dist",
"package.json",
"README.md",
"LICENSE.md",
"pp-dev.d.ts",
"assets",
"CHANGELOG.md"
],
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mi-examples/pp-dev-js.git"
},
"keywords": [
"mi",
"metricinsights",
"pp",
"portal",
"pages",
"helper"
],
"bugs": {
"url": "https://github.com/mi-examples/pp-dev-js/issues"
},
"homepage": "https://github.com/mi-examples/pp-dev-js#readme"
}