|
1 | | -{ |
2 | | - "name": "<%- appName %>", |
3 | | - "description": "Application utilizing Sitecore JavaScript Services and Next.js", |
4 | | - "version": "0.1.0", |
5 | | - "private": true, |
6 | | - "config": { |
7 | | - "appName": "<%- appName %>", |
8 | | - "rootPlaceholders": [ |
9 | | - "<%- helper.getAppPrefix(appPrefix, appName) %>jss-main" |
10 | | - ], |
11 | | - "sitecoreConfigPath": "/App_Config/Include/zzz", |
12 | | - "graphQLEndpointPath": "/sitecore/api/graph/edge", |
13 | | - "language": "en" |
14 | | - }, |
15 | | - "author": { |
16 | | - "name": "Sitecore Corporation", |
17 | | - "url": "https://jss.sitecore.com" |
18 | | - }, |
19 | | - "repository": { |
20 | | - "type": "git", |
21 | | - "url": "git+https://github.com/sitecore/jss.git" |
22 | | - }, |
23 | | - "bugs": { |
24 | | - "url": "https://github.com/sitecore/jss/issues" |
25 | | - }, |
26 | | - "license": "Apache-2.0", |
27 | | - "dependencies": { |
28 | | - "@sitecore-jss/sitecore-jss-nextjs": "<%- version %>", |
29 | | - "next": "^16.1.0", |
30 | | - "next-localization": "^0.12.0", |
31 | | - "react": "^19.1.0", |
32 | | - "react-dom": "^19.1.0", |
33 | | - "sharp": "0.34.3" |
34 | | - }, |
35 | | - "devDependencies": { |
36 | | - "@sitecore-jss/sitecore-jss-cli": "<%- version %>", |
37 | | - "@sitecore-jss/sitecore-jss-dev-tools": "<%- version %>", |
38 | | - "@types/node": "^24.10.4", |
39 | | - "@types/react": "^19.1.7", |
40 | | - "@types/react-dom": "^19.1.7", |
41 | | - "@typescript-eslint/eslint-plugin": "^8.14.0", |
42 | | - "@typescript-eslint/parser": "^8.14.0", |
43 | | - "chalk": "~4.1.2", |
44 | | - "chokidar": "~4.0.3", |
45 | | - "constant-case": "^3.0.4", |
46 | | - "cross-env": "~10.0.0", |
47 | | - "dotenv-flow": "^4.1.0", |
48 | | - "@eslint/eslintrc": "^3.2.0", |
49 | | - "eslint": "^9.15.0", |
50 | | - "eslint-config-next": "^15.0.0", |
51 | | - "eslint-config-prettier": "^8.6.0", |
52 | | - "eslint-plugin-prettier": "^4.2.1", |
53 | | - "eslint-plugin-react": "^7.37.5", |
54 | | - "eslint-plugin-yaml": "^0.5.0", |
55 | | - "npm-run-all": "~4.1.5", |
56 | | - "prettier": "^2.8.3", |
57 | | - "ts-node": "^10.9.1", |
58 | | - "tsconfig-paths": "^4.1.2", |
59 | | - "typescript": "~5.4.0" |
60 | | - }, |
61 | | - "scripts": { |
62 | | - "jss": "jss", |
63 | | - "lint": "eslint ./src/**/*.tsx ./src/**/*.ts ./scripts/**/*.ts", |
64 | | - "bootstrap": "ts-node --require dotenv-flow/config --project tsconfig.scripts.json scripts/bootstrap.ts", |
65 | | - "build": "cross-env NODE_ENV=production npm-run-all --serial bootstrap next:build", |
66 | | - "next:build": "next build --webpack", |
67 | | - "next:dev": "cross-env NODE_OPTIONS='--inspect' next dev --webpack", |
68 | | - "next:start": "next start", |
69 | | - "scaffold": "ts-node --project tsconfig.scripts.json scripts/scaffold-component/index.ts", |
70 | | - "start:connected": "cross-env NODE_ENV=development npm-run-all --serial bootstrap --parallel next:dev start:watch-components", |
71 | | - "start:production": "cross-env-shell NODE_ENV=production npm-run-all --serial bootstrap next:build next:start", |
72 | | - "start:watch-components": "ts-node --project tsconfig.scripts.json scripts/generate-component-builder/index.ts --watch", |
73 | | - "install-pre-push-hook": "ts-node --project tsconfig.scripts.json ./scripts/install-pre-push-hook.ts" |
74 | | - } |
75 | | -} |
| 1 | +{ |
| 2 | + "name": "<%- appName %>", |
| 3 | + "description": "Application utilizing Sitecore JavaScript Services and Next.js", |
| 4 | + "version": "0.1.0", |
| 5 | + "private": true, |
| 6 | + "config": { |
| 7 | + "appName": "<%- appName %>", |
| 8 | + "rootPlaceholders": [ |
| 9 | + "<%- helper.getAppPrefix(appPrefix, appName) %>jss-main" |
| 10 | + ], |
| 11 | + "sitecoreConfigPath": "/App_Config/Include/zzz", |
| 12 | + "graphQLEndpointPath": "/sitecore/api/graph/edge", |
| 13 | + "language": "en" |
| 14 | + }, |
| 15 | + "author": { |
| 16 | + "name": "Sitecore Corporation", |
| 17 | + "url": "https://jss.sitecore.com" |
| 18 | + }, |
| 19 | + "repository": { |
| 20 | + "type": "git", |
| 21 | + "url": "git+https://github.com/sitecore/jss.git" |
| 22 | + }, |
| 23 | + "bugs": { |
| 24 | + "url": "https://github.com/sitecore/jss/issues" |
| 25 | + }, |
| 26 | + "license": "Apache-2.0", |
| 27 | + "dependencies": { |
| 28 | + "@sitecore-jss/sitecore-jss-nextjs": "<%- version %>", |
| 29 | + "next": "^16.2.0", |
| 30 | + "next-localization": "^0.12.0", |
| 31 | + "react": "^19.1.0", |
| 32 | + "react-dom": "^19.1.0", |
| 33 | + "sharp": "0.34.3" |
| 34 | + }, |
| 35 | + "devDependencies": { |
| 36 | + "@sitecore-jss/sitecore-jss-cli": "<%- version %>", |
| 37 | + "@sitecore-jss/sitecore-jss-dev-tools": "<%- version %>", |
| 38 | + "@types/node": "^24.10.4", |
| 39 | + "@types/react": "^19.1.7", |
| 40 | + "@types/react-dom": "^19.1.7", |
| 41 | + "@typescript-eslint/eslint-plugin": "^8.14.0", |
| 42 | + "@typescript-eslint/parser": "^8.14.0", |
| 43 | + "chalk": "~4.1.2", |
| 44 | + "chokidar": "~4.0.3", |
| 45 | + "constant-case": "^3.0.4", |
| 46 | + "cross-env": "~10.0.0", |
| 47 | + "dotenv-flow": "^4.1.0", |
| 48 | + "eslint": "^9.15.0", |
| 49 | + "eslint-config-next": "^16.2.0", |
| 50 | + "eslint-config-prettier": "^8.6.0", |
| 51 | + "eslint-plugin-prettier": "^4.2.1", |
| 52 | + "eslint-plugin-react": "^7.37.5", |
| 53 | + "eslint-plugin-yaml": "^0.5.0", |
| 54 | + "npm-run-all": "~4.1.5", |
| 55 | + "prettier": "^2.8.3", |
| 56 | + "ts-node": "^10.9.1", |
| 57 | + "tsconfig-paths": "^4.1.2", |
| 58 | + "typescript": "~5.4.0" |
| 59 | + }, |
| 60 | + "scripts": { |
| 61 | + "jss": "jss", |
| 62 | + "lint": "eslint ./src/**/*.tsx ./src/**/*.ts ./scripts/**/*.ts", |
| 63 | + "bootstrap": "ts-node --require dotenv-flow/config --project tsconfig.scripts.json scripts/bootstrap.ts", |
| 64 | + "build": "cross-env NODE_ENV=production npm-run-all --serial bootstrap next:build", |
| 65 | + "next:build": "next build --webpack", |
| 66 | + "next:dev": "cross-env NODE_OPTIONS='--inspect' next dev --webpack", |
| 67 | + "next:start": "next start", |
| 68 | + "scaffold": "ts-node --project tsconfig.scripts.json scripts/scaffold-component/index.ts", |
| 69 | + "start:connected": "cross-env NODE_ENV=development npm-run-all --serial bootstrap --parallel next:dev start:watch-components", |
| 70 | + "start:production": "cross-env-shell NODE_ENV=production npm-run-all --serial bootstrap next:build next:start", |
| 71 | + "start:watch-components": "ts-node --project tsconfig.scripts.json scripts/generate-component-builder/index.ts --watch", |
| 72 | + "install-pre-push-hook": "ts-node --project tsconfig.scripts.json ./scripts/install-pre-push-hook.ts" |
| 73 | + } |
| 74 | +} |
0 commit comments