UNPKG

@nadeshikon/plugin-nextjs

Version:
138 lines (137 loc) 4.64 kB
{ "name": "@nadeshikon/plugin-nextjs", "description": "Run Next.js seamlessly on Netlify", "version": "4.29.5-4", "scripts": { "build:demo": "cd demos/default && npm run build", "cy:open": "cypress open --config-file cypress/config/canary.json", "dev:demo": "next dev demos/default", "format": "npm-run-all format:check-fix:*", "format:ci": "npm-run-all format:check:*", "format:check-fix:lint": "run-e format:check:lint format:fix:lint", "format:check:lint": "cross-env-shell eslint $npm_package_config_eslint", "format:fix:lint": "cross-env-shell eslint --fix $npm_package_config_eslint", "format:check-fix:prettier": "run-e format:check:prettier format:fix:prettier", "format:check:prettier": "cross-env-shell prettier --check $npm_package_config_prettier", "format:fix:prettier": "cross-env-shell prettier --write $npm_package_config_prettier", "build": "npm run build -w packages/next -w packages/runtime", "install-husky": "if-env CI=1 || husky install node_modules/@netlify/eslint-config-node/.husky", "test": "npm-run-all build:demo test:jest", "test:next": "jest -c test/e2e/jest.config.js", "test:next:disabled": "RUN_SKIPPED_TESTS=1 jest -c test/e2e/jest.config.disabled.js", "test:next:all": "RUN_SKIPPED_TESTS=1 jest -c test/e2e/jest.config.all.js", "test:next:appdir": "NEXT_TEST_VERSION=canary jest -c test/e2e/jest.config.appdir.js", "test:jest": "jest", "playwright:install": "playwright install --with-deps chromium", "test:jest:update": "jest --updateSnapshot", "test:update": "npm-run-all build build:demo test:jest:update" }, "config": { "eslint": "--cache --format=codeframe --max-warnings=0 \"{packages,src,scripts,tests,.github}/**/*.{ts,js,md,html}\" \"*.{ts,js,md,html}\" \".*.{ts,js,md,html}\"", "prettier": "--loglevel=warn \"{packages,src,scripts,tests,.github}/**/*.{ts,js,md,yml,json,html}\" \"*.{ts,js,yml,json,html}\" \".*.{ts,js,yml,json,html}\" \"!package-lock.json\"" }, "repository": { "type": "git", "url": "git+https://github.com/netlify/next-runtime.git" }, "keywords": [ "nextjs", "netlify", "next", "netlify-runtime" ], "license": "MIT", "bugs": { "url": "https://github.com/netlify/next-runtime/issues" }, "homepage": "https://github.com/netlify/next-runtime#readme", "devDependencies": { "@babel/core": "^7.15.8", "@babel/preset-env": "^7.15.8", "@babel/preset-typescript": "^7.16.0", "@delucis/if-env": "^1.1.2", "@netlify/build": "^29.3.0", "@netlify/eslint-config-node": "^7.0.1", "@testing-library/cypress": "^8.0.1", "@types/fs-extra": "^9.0.13", "@types/jest": "^27.0.2", "@types/mocha": "^9.0.0", "@types/node": "^17.0.10", "@types/react": "^18.0.25", "babel-jest": "^27.2.5", "chance": "^1.1.8", "cheerio": "^1.0.0-rc.12", "cpy": "^8.1.2", "cypress": "^9.0.0", "escape-string-regexp": "^2.0.0", "eslint-config-next": "^12.0.0", "eslint-plugin-promise": "^6.0.0", "eslint-plugin-unicorn": "^43.0.2", "execa": "^5.1.1", "husky": "^7.0.4", "jest": "^27.0.0", "jest-extended": "^3.2.0", "jest-fetch-mock": "^3.0.3", "jest-junit": "^14.0.1", "netlify-plugin-cypress": "^2.2.0", "npm-run-all": "^4.1.5", "playwright-chromium": "^1.26.1", "prettier": "^2.1.2", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^3.0.2", "sass": "^1.49.0", "sharp": "^0.30.4", "tmp-promise": "^3.0.2", "typescript": "^4.3.4" }, "dependencies": { "next": "^13.0.7" }, "engines": { "node": ">=16.0.0" }, "jest": { "setupFiles": [ "./jestSetup.js" ], "testMatch": [ "**/test/**/*.spec.js", "**/test/**/*.spec.ts", "!**/test/e2e/**", "!**/test/fixtures/**", "!**/test/sample/**" ], "transform": { "\\.[jt]sx?$": "babel-jest" }, "verbose": true, "testTimeout": 60000 }, "jest-junit": { "outputDirectory": "reports", "outputName": "jest-junit.xml", "uniqueOutputName": "true", "ancestorSeparator": " > ", "suiteNameTemplate": "{filepath}", "classNameTemplate": "{classname}", "titleTemplate": "{title}" }, "workspaces": [ "packages/*", "demos/default", "demos/next-auth", "demos/static-root", "demos/next-export", "demos/base-path", "demos/plugin-wrapper", "demos/server-components", "demos/middleware", "demos/custom-routes", "demos/next-with-edge-functions" ], "directories": { "doc": "docs", "test": "test" } }