@lukoweb/create-apitogo 0.1.126 → 0.1.127

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +8 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lukoweb/create-apitogo",
3
- "version": "0.1.126",
3
+ "version": "0.1.127",
4
4
  "keywords": [
5
5
  "react",
6
6
  "apitogo"
@@ -19,6 +19,10 @@
19
19
  "files": [
20
20
  "dist"
21
21
  ],
22
+ "scripts": {
23
+ "dev": "ncc build ./index.ts -w -o dist/",
24
+ "build": "node -e \"require('node:fs').rmSync('./dist', { recursive: true, force: true })\" && ncc build ./index.ts -o ./dist/ --minify --no-cache --no-source-map-register && node -e \"const fs = require('node:fs'); const path = './dist/index.js'; const content = fs.readFileSync(path, 'utf8').replace(/^#!\\/usr\\/bin\\/env node\\r?/, '#!/usr/bin/env node\\n'); fs.writeFileSync(path, content); fs.cpSync('templates', 'dist/templates', { recursive: true });\""
25
+ },
22
26
  "devDependencies": {
23
27
  "@types/async-retry": "1.4.2",
24
28
  "@types/cross-spawn": "6.0.6",
@@ -42,8 +46,7 @@
42
46
  "engines": {
43
47
  "node": ">=20"
44
48
  },
45
- "scripts": {
46
- "dev": "ncc build ./index.ts -w -o dist/",
47
- "build": "node -e \"require('node:fs').rmSync('./dist', { recursive: true, force: true })\" && ncc build ./index.ts -o ./dist/ --minify --no-cache --no-source-map-register && node -e \"const fs = require('node:fs'); const path = './dist/index.js'; const content = fs.readFileSync(path, 'utf8').replace(/^#!\\/usr\\/bin\\/env node\\r?/, '#!/usr/bin/env node\\n'); fs.writeFileSync(path, content); fs.cpSync('templates', 'dist/templates', { recursive: true });\""
49
+ "publishConfig": {
50
+ "access": "public"
48
51
  }
49
- }
52
+ }