|
1 | 1 | {
|
2 | 2 | "name": "@nexim/eleventy-config",
|
3 |
| - "version": "1.0.0", |
4 |
| - "description": "Enhanced production ready eleventy config.", |
| 3 | + "version": "0.0.0", |
| 4 | + "description": "An optimized, production-ready configuration for the Eleventy static site generator tailored for the Nexim APP Template structure. This setup ensures efficient Eleventy projects by integrating HTML minification, PostCSS processing, service worker generation, and other performance-focused enhancements for scalable and maintainable web applications.", |
5 | 5 | "keywords": [
|
6 | 6 | "eleventy",
|
7 | 7 | "ssg",
|
8 |
| - "context", |
| 8 | + "jamstack", |
| 9 | + "config", |
9 | 10 | "typescript",
|
10 | 11 | "nexim"
|
11 | 12 | ],
|
12 |
| - "homepage": "https://github.com/the-nexim/application-toolkit/tree/next/packages/eleventy-config#readme", |
| 13 | + "homepage": "https://github.com/the-nexim/web-application-toolkit/tree/next/packages/eleventy-config#readme", |
13 | 14 | "bugs": {
|
14 |
| - "url": "https://github.com/the-nexim/application-toolkit/issues" |
| 15 | + "url": "https://github.com/the-nexim/web-application-toolkit/issues" |
15 | 16 | },
|
16 | 17 | "repository": {
|
17 | 18 | "type": "git",
|
18 |
| - "url": "https://github.com/the-nexim/application-toolkit", |
| 19 | + "url": "https://github.com/the-nexim/web-application-toolkit", |
19 | 20 | "directory": "packages/eleventy-config"
|
20 | 21 | },
|
21 | 22 | "license": "AGPL-3.0-only",
|
|
37 | 38 | "files": [
|
38 | 39 | "**/*.{js,mjs,cjs,map,d.ts,html,md,LEGAL.txt}",
|
39 | 40 | "LICENSE",
|
40 |
| - "!**/*.test.js", |
41 |
| - "!demo/**/*" |
| 41 | + "!**/*.test.js" |
42 | 42 | ],
|
43 | 43 | "scripts": {
|
44 | 44 | "build": "wireit",
|
45 | 45 | "test": "wireit",
|
46 | 46 | "watch": "wireit"
|
47 | 47 | },
|
48 |
| - "devDependencies": { |
49 |
| - "@11ty/eleventy": "^2.0.1", |
| 48 | + "dependencies": { |
| 49 | + "@11ty/eleventy": "^3.0.0", |
50 | 50 | "@11ty/eleventy-plugin-directory-output": "^1.0.1",
|
| 51 | + "@11ty/eleventy-upgrade-help": "3", |
51 | 52 | "@alwatr/logger": "^5.0.0",
|
52 |
| - "@alwatr/nano-build": "^5.0.0", |
53 |
| - "@alwatr/type-helper": "^5.0.0", |
54 |
| - "@nexim/typescript-config": "^1.0.1", |
| 53 | + "@alwatr/package-tracer": "^5.0.0", |
| 54 | + "@alwatr/platform-info": "^5.0.0", |
55 | 55 | "@swc/html": "^1.10.1",
|
56 |
| - "@types/node": "^22.10.2", |
57 |
| - "ava": "^6.2.0", |
58 | 56 | "cssnano": "^7.0.6",
|
59 | 57 | "markdown-it": "^14.1.0",
|
60 | 58 | "markdown-it-anchor": "^9.2.0",
|
61 |
| - "markdown-it-attrs": "^4.3.0", |
| 59 | + "markdown-it-attrs": "^4.3.1", |
62 | 60 | "postcss": "^8.4.49",
|
63 | 61 | "postcss-import": "^16.1.0",
|
64 | 62 | "postcss-preset-env": "^10.1.2",
|
65 | 63 | "postcss-variable-compress": "^3.0.0",
|
66 | 64 | "postcss-viewport-unit-fallback": "^1.0.1",
|
67 | 65 | "tailwindcss": "^3.4.17",
|
68 |
| - "typescript": "^5.7.2", |
69 |
| - "wireit": "^0.14.9", |
70 | 66 | "workbox-build": "^7.3.0"
|
71 | 67 | },
|
| 68 | + "devDependencies": { |
| 69 | + "@alwatr/nano-build": "^5.0.0", |
| 70 | + "@alwatr/type-helper": "^5.0.0", |
| 71 | + "@nexim/typescript-config": "^1.0.1", |
| 72 | + "@types/11ty__eleventy-plugin-directory-output": "^1.0.0", |
| 73 | + "@types/eleventy-plugin-toc": "^1.1.0", |
| 74 | + "@types/markdown-it": "^14.1.2", |
| 75 | + "@types/markdown-it-attrs": "^4.1.3", |
| 76 | + "@types/node": "^22.10.2", |
| 77 | + "@types/postcss-import": "^14.0.3", |
| 78 | + "ava": "^6.2.0", |
| 79 | + "typescript": "^5.7.2", |
| 80 | + "wireit": "^0.14.9" |
| 81 | + }, |
| 82 | + "peerDependencies": { |
| 83 | + "@11ty/eleventy": "^3.0.0" |
| 84 | + }, |
72 | 85 | "publishConfig": {
|
73 | 86 | "access": "public"
|
74 | 87 | },
|
75 | 88 | "wireit": {
|
76 |
| - "build": { |
77 |
| - "dependencies": [ |
78 |
| - "build:11ty" |
79 |
| - ] |
| 89 | + "test": { |
| 90 | + "command": "NODE_OPTIONS=\"$NODE_OPTIONS --enable-source-maps --experimental-vm-modules\" ava" |
80 | 91 | },
|
81 |
| - "build:11ty": { |
82 |
| - "command": "yarn node script/build.mjs", |
83 |
| - "files": [ |
84 |
| - "site", |
85 |
| - "assets", |
86 |
| - "dist/es" |
87 |
| - ], |
88 |
| - "output": [ |
89 |
| - "dist", |
90 |
| - "!dist/es" |
91 |
| - ], |
| 92 | + "build": { |
92 | 93 | "dependencies": [
|
| 94 | + "build:type", |
93 | 95 | "build:es"
|
94 | 96 | ]
|
95 | 97 | },
|
96 | 98 | "build:es": {
|
97 |
| - "command": "nano-build --preset=weaver", |
| 99 | + "command": "nano-build --preset=module", |
98 | 100 | "files": [
|
99 | 101 | "src",
|
100 | 102 | "tsconfig.json"
|
|
105 | 107 | "tsconfig.tsbuildinfo"
|
106 | 108 | ]
|
107 | 109 | },
|
108 |
| - "serve": { |
109 |
| - "command": "wds", |
110 |
| - "service": true |
111 |
| - }, |
112 |
| - "start": { |
113 |
| - "dependencies": [ |
114 |
| - "build", |
115 |
| - "serve" |
116 |
| - ] |
| 110 | + "build:type": { |
| 111 | + "command": "tsc --build" |
117 | 112 | },
|
118 | 113 | "watch": {
|
119 | 114 | "dependencies": [
|
120 |
| - "watch:11ty", |
121 |
| - "serve" |
| 115 | + "watch:ts" |
122 | 116 | ]
|
123 | 117 | },
|
124 |
| - "watch:11ty": { |
125 |
| - "command": "yarn run build:11ty -- --watch", |
126 |
| - "service": true, |
| 118 | + "watch:ts": { |
| 119 | + "command": "tsc --build --watch --preserveWatchOutput", |
127 | 120 | "dependencies": [
|
128 | 121 | "watch:es"
|
129 | 122 | ]
|
130 | 123 | },
|
131 | 124 | "watch:es": {
|
132 |
| - "command": "yarn run build:es -- --watch", |
| 125 | + "command": "nano-build --preset=module -- --watch", |
133 | 126 | "service": true
|
134 | 127 | }
|
135 | 128 | }
|
|
0 commit comments