generator-kscpm
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -8,3 +8,3 @@ { | ||
"dev": "cross-env NODE_ENV=development ksr dev -e index.html -p <%=port%>", | ||
"build": "cross-env NODE_ENV=production ksr build -e index.html", | ||
"build": "rm-rf dist && cross-env NODE_ENV=production ksr build -e index.html", | ||
"serve": "ksr serve -p <%=servePort%>", | ||
@@ -11,0 +11,0 @@ "online": "npm run build && npm run serve" |
@@ -8,4 +8,4 @@ const path = require('path'); | ||
"cwd": path.resolve(__dirname), | ||
"script": "npm", | ||
"args": "run serve", | ||
"script": "node_modules/ksr/bin/ksr-serve.js", | ||
"args": "-p <%=servePort%>", | ||
"exec_mode": "cluster", | ||
@@ -12,0 +12,0 @@ "instances": 3, |
@@ -39,2 +39,5 @@ # <%=name%> | ||
cat .ksr.conf.js | ||
``` | ||
``` | ||
### **Notice** | ||
Node version > 8.0 |
@@ -8,3 +8,3 @@ { | ||
"dev": "cross-env NODE_ENV=development ksr dev -e index.html -p <%=port%>", | ||
"build": "cross-env NODE_ENV=production ksr build -e index.html", | ||
"build": "rm -rf dist && cross-env NODE_ENV=production ksr build -e index.html", | ||
"serve": "ksr serve -p <%=servePort%>", | ||
@@ -11,0 +11,0 @@ "online": "npm run build && npm run serve" |
@@ -8,4 +8,4 @@ const path = require('path'); | ||
"cwd": path.resolve(__dirname), | ||
"script": "npm", | ||
"args": "run serve", | ||
"script": "node_modules/ksr/bin/ksr-serve.js", | ||
"args": "-p <%=servePort%>", | ||
"exec_mode": "cluster", | ||
@@ -12,0 +12,0 @@ "instances": 3, |
@@ -40,2 +40,5 @@ # <%=name%> | ||
cat .ksr.conf.js | ||
``` | ||
``` | ||
### **Notice** | ||
Node version > 8.0 |
{ | ||
"name": "generator-kscpm", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "这是一个用于初始化项目的工具 , 基于 yeoman", | ||
@@ -5,0 +5,0 @@ "files": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
80385