UNPKG

next-plugin-preval

Version:

> Pre-evaluate async functions (for data fetches) at build time and import them like JSON

70 lines (69 loc) 1.95 kB
{ "name": "next-plugin-preval", "version": "1.2.8", "description": "", "keywords": [ "next", "next.js", "preval" ], "repository": { "type": "git", "url": "https://github.com/ricokahler/next-plugin-preval.git" }, "license": "MIT", "author": { "name": "Rico Kahler", "email": "ricokahler@me.com", "url": "https://github.com/ricokahler" }, "main": "./dist/index.js", "types": "./dist/index.d.ts", "scripts": { "test": "jest", "typecheck": "tsc --noEmit --emitDeclarationOnly false", "semantic-release": "semantic-release", "build": "./scripts/build", "lint": "eslint src", "prepare": "npm run build", "build-example-app": "./scripts/build-example-app" }, "dependencies": { "@babel/core": "^7.12.10", "@babel/preset-env": "^7.12.11", "@babel/register": "^7.13.16", "babel-plugin-module-resolver": "^4.1.0", "loader-utils": "^2.0.0", "regenerator-runtime": "^0.14.0", "require-from-string": "^2.0.2", "tsconfig-paths": "^3.9.0", "webpack": "^5.56.0" }, "devDependencies": { "@babel/cli": "7.26.4", "@babel/preset-typescript": "7.26.0", "@types/babel__core": "7.20.5", "@types/jest": "26.0.24", "@types/require-from-string": "1.2.3", "@typescript-eslint/eslint-plugin": "4.33.0", "@typescript-eslint/parser": "4.33.0", "@babel/eslint-parser": "7.26.8", "eslint": "7.32.0", "eslint-config-react-app": "6.0.0", "eslint-plugin-flowtype": "5.10.0", "eslint-plugin-import": "2.31.0", "eslint-plugin-jsx-a11y": "6.10.2", "eslint-plugin-react": "7.37.4", "eslint-plugin-react-hooks": "4.6.2", "jest": "27.5.1", "next": "15.0.3", "prettier": "2.8.8", "react": "18.3.1", "react-dom": "18.3.1", "semantic-release": "17.4.7", "typescript": "4.9.5" }, "peerDependencies": { "next": "^9 || ^10 || ^11 || ^12.0.0 || ^13 || ^14 || ^15.0.0" } }