create-blocklet 0.3.13 → 0.3.14
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.
- package/package.json +1 -1
- package/templates/blocklet-page-static/blocklet.yml +0 -2
- package/templates/express-api/blocklet.yml +0 -2
- package/templates/html-static/blocklet.yml +0 -2
- package/templates/nextjs-dapp/blocklet.yml +0 -2
- package/templates/nextjs-dapp/next.config.js +1 -1
- package/templates/nextjs-dapp/package.json +1 -0
- package/templates/react-dapp/blocklet.yml +0 -2
- package/templates/react-dapp/package.json +1 -0
- package/templates/react-dapp/src/index.jsx +0 -3
- package/templates/react-gun-dapp/blocklet.yml +0 -2
- package/templates/react-gun-dapp/package.json +1 -0
- package/templates/react-gun-dapp/src/index.jsx +0 -3
- package/templates/react-static/blocklet.yml +0 -2
- package/templates/react-static/package.json +1 -0
- package/templates/react-static/src/index.jsx +0 -3
- package/templates/solidjs-dapp/blocklet.yml +0 -2
- package/templates/solidjs-dapp/package.json +1 -0
- package/templates/solidjs-static/blocklet.yml +0 -2
- package/templates/solidjs-static/package.json +1 -0
- package/templates/svelte-dapp/blocklet.yml +0 -2
- package/templates/svelte-static/blocklet.yml +0 -2
- package/templates/svelte-static/package.json +1 -0
- package/templates/vue-dapp/blocklet.yml +0 -2
- package/templates/vue-dapp/package.json +1 -0
- package/templates/vue-static/blocklet.yml +0 -2
- package/templates/vue-static/package.json +1 -0
- package/templates/vue2-dapp/blocklet.yml +0 -2
- package/templates/vue2-dapp/package.json +1 -0
- package/templates/vue2-static/blocklet.yml +0 -2
- package/templates/vue2-static/package.json +1 -0
package/package.json
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
"build": "next build",
|
|
8
8
|
"start": "NODE_ENV=production node api/index.js",
|
|
9
9
|
"lint": "next lint",
|
|
10
|
+
"lint:fix": "npm run lint -- --fix",
|
|
10
11
|
"clean": "rm -rf .blocklet",
|
|
11
12
|
"bundle": "npm run bundle:client && npm run bundle:api",
|
|
12
13
|
"bundle:client": "PUBLIC_URL='/.blocklet/proxy/<%= did %>' npm run build",
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"build": "craco build",
|
|
7
7
|
"eject": "react-scripts eject",
|
|
8
8
|
"lint": "eslint src api --ext .mjs,.js,.jsx,.ts,.tsx",
|
|
9
|
+
"lint:fix": "npm run lint -- --fix",
|
|
9
10
|
"start": "npm-run-all --parallel start:*",
|
|
10
11
|
"start:client": "npm run dev",
|
|
11
12
|
"start:api": "NODE_ENV=development nodemon api/index.js -w api",
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"build": "craco build",
|
|
7
7
|
"eject": "react-scripts eject",
|
|
8
8
|
"lint": "eslint src api --ext .mjs,.js,.jsx,.ts,.tsx",
|
|
9
|
+
"lint:fix": "npm run lint -- --fix",
|
|
9
10
|
"start": "npm-run-all --parallel start:*",
|
|
10
11
|
"start:client": "npm run dev",
|
|
11
12
|
"start:api": "NODE_ENV=development nodemon api/index.js -w api",
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"build": "craco build",
|
|
7
7
|
"eject": "react-scripts eject",
|
|
8
8
|
"lint": "eslint src --ext .mjs,.js,.jsx,.ts,.tsx",
|
|
9
|
+
"lint:fix": "npm run lint -- --fix",
|
|
9
10
|
"start": "npm run dev",
|
|
10
11
|
"clean": "rm -rf .blocklet",
|
|
11
12
|
"bundle": "npm run clean && PUBLIC_URL='/.blocklet/proxy/<%= did %>' npm run build && blocklet bundle --zip --create-release",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"deploy": "npm run bundle && blocklet deploy .blocklet/bundle",
|
|
17
17
|
"upload": "npm run bundle && blocklet upload .blocklet/release/blocklet.json",
|
|
18
18
|
"lint": "eslint src --ext .mjs,.js,.jsx",
|
|
19
|
+
"lint:fix": "npm run lint -- --fix",
|
|
19
20
|
"prepare": "husky install"
|
|
20
21
|
},
|
|
21
22
|
"license": "MIT",
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
"dev": "vite",
|
|
8
8
|
"build": "vite build",
|
|
9
9
|
"lint": "eslint src --ext .mjs,.js,.jsx",
|
|
10
|
+
"lint:fix": "npm run lint -- --fix",
|
|
10
11
|
"serve": "vite preview",
|
|
11
12
|
"clean": "rm -rf .blocklet",
|
|
12
13
|
"bundle": "npm run clean && vite build --base /.blocklet/proxy/<%= did %>/ && blocklet bundle --zip --create-release",
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"build": "vite build",
|
|
9
9
|
"preview": "vite preview",
|
|
10
10
|
"lint": "eslint src --ext .mjs,.js,.svelte",
|
|
11
|
+
"lint:fix": "npm run lint -- --fix",
|
|
11
12
|
"clean": "rm -rf .blocklet",
|
|
12
13
|
"bundle": "npm run clean && vite build --base /.blocklet/proxy/<%= did %>/ && blocklet bundle --zip --create-release",
|
|
13
14
|
"deploy": "npm run bundle && blocklet deploy .blocklet/bundle",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"deploy": "npm run bundle && blocklet deploy .blocklet/bundle",
|
|
16
16
|
"upload": "npm run bundle && blocklet upload .blocklet/release/blocklet.json",
|
|
17
17
|
"lint": "eslint src api --ext .mjs,.js,.vue",
|
|
18
|
+
"lint:fix": "npm run lint -- --fix",
|
|
18
19
|
"prepare": "husky install"
|
|
19
20
|
},
|
|
20
21
|
"dependencies": {
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"start": "npm run dev",
|
|
7
7
|
"build": "vite build",
|
|
8
8
|
"lint": "eslint src --ext .mjs,.js,.vue",
|
|
9
|
+
"lint:fix": "npm run lint -- --fix",
|
|
9
10
|
"serve": "vite preview",
|
|
10
11
|
"clean": "rm -rf .blocklet",
|
|
11
12
|
"bundle": "npm run clean && vite build --base /.blocklet/proxy/<%= did %>/ && blocklet bundle --zip --create-release",
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"serve": "vue-cli-service serve",
|
|
7
7
|
"build": "vue-cli-service build",
|
|
8
8
|
"lint": "eslint src api --ext .mjs,.js,.vue",
|
|
9
|
+
"lint:fix": "npm run lint -- --fix",
|
|
9
10
|
"start": "npm-run-all --parallel start:*",
|
|
10
11
|
"start:client": "npm run serve",
|
|
11
12
|
"start:api": "NODE_ENV=development nodemon api/index.js -w api",
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"serve": "vue-cli-service serve",
|
|
7
7
|
"build": "vue-cli-service build",
|
|
8
8
|
"lint": "eslint src --ext .mjs,.js,.vue",
|
|
9
|
+
"lint:fix": "npm run lint -- --fix",
|
|
9
10
|
"start": "npm run serve",
|
|
10
11
|
"clean": "rm -rf .blocklet",
|
|
11
12
|
"bundle": "npm run clean && PUBLIC_PATH=/.blocklet/proxy/<%= did %> npm run build && blocklet bundle --zip --create-release",
|