vap-builder
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -67,3 +67,3 @@ "use strict"; | ||
} | ||
var data = _.assign({}, VERSION_1, { title: map_1.get(page.path) || '', links: [], scripts: [] }, page, extra); | ||
var data = _.assign({}, VERSION_1, { CDN: config.cdn || '' }, { title: map_1.get(page.path) || '', links: [], scripts: [] }, page, extra); | ||
templateLoader.write(data); | ||
@@ -70,0 +70,0 @@ }); |
{ | ||
"name": "vap-builder", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Fast VAP framework buider", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.DISPLAY = "<!DOCTYPE html>\n<html>\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n <title><%=(locals.title?title:'')%></title>\n <script src=\"/js/theme.js<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\"></script>\n <link href=\"/css/iconfont.css<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\" rel=\"stylesheet\" />\n <link href=\"/css/vap.css<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\" rel=\"stylesheet\" />\n <% links.forEach(function(link){%><link href=\"<%=link %><%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\" rel=\"stylesheet\" /><%})%>\n</head>\n<body <%=GLOBAL_VERSION?'version=\"'+GLOBAL_VERSION+'\"':''%> >\n<div id=\"__header\"></div><div id=\"root\"></div>\n<script src=\"/js/references.display.js<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\"></script>\n<script src=\"/js/header.js<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\"></script>\n<% scripts.forEach(function(script){%><script src=\"<%=script %><%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\"></script><%})%>\n</body>\n</html>"; | ||
exports.ADMIN = "<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" wecontent=\"ie=edge\">\n<title><%=(locals.title?'':title)%></title>\n<link href=\"/css/theme-admin.css<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\" rel=\"stylesheet\">\n<link href=\"/css/iconfont.css<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\" rel=\"stylesheet\">\n<link href=\"/css/admin.css<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\" rel=\"stylesheet\">\n<% links.forEach(function(link){%><link href=\"<%=link %><%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\" rel=\"stylesheet\" /><%})%>\n<script src=\"/js/references.admin.js<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\"></script>\n</head>\n<body <%=GLOBAL_VERSION?'version=\"'+GLOBAL_VERSION+'\"':''%> >\n<div id=\"root\"></div>\n<script src=\"/js/admin.js<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\"></script>\n<% scripts.forEach(function(script){%><script src=\"<%=script %><%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\"></script><%})%>\n</body>\n</html>"; | ||
exports.SCREEN = "<!DOCTYPE html>\n<html>\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n <title><%=(locals.title?'':title)%></title>\n <link href=\"/css/theme-screen.css<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\" rel=\"stylesheet\">\n <link href=\"/css/vap.css<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\" rel=\"stylesheet\">\n <link href=\"/css/iconfont.css<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\" rel=\"stylesheet\">\n <% links.forEach(function(link){%><link href=\"<%=link %><%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\" rel=\"stylesheet\" /><%})%>\n <script src=\"/js/references.screen.js<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\"></script>\n</head>\n<body class=\"vap-screen\" <%=GLOBAL_VERSION?'version=\"'+GLOBAL_VERSION+'\"':''%> >\n<div id=\"root\"></div> \n</body>\n<% scripts.forEach(function(script){%><script src=\"<%=script %><%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\"></script><%})%>\n</html>"; | ||
exports.DISPLAY = "<!DOCTYPE html>\n<html>\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n <title><%=(locals.title?title:'')%></title>\n <script src=\"<%=CDN %>/js/theme.js<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\"></script>\n <link href=\"<%=CDN %>/css/iconfont.css<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\" rel=\"stylesheet\" />\n <link href=\"<%=CDN %>/css/vap.css<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\" rel=\"stylesheet\" />\n <% links.forEach(function(link){%><link href=\"<%=CDN %><%=link %><%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\" rel=\"stylesheet\" /><%})%>\n</head>\n<body <%=GLOBAL_VERSION?'version=\"'+GLOBAL_VERSION+'\"':''%> >\n<div id=\"__header\"></div><div id=\"root\"></div>\n<script src=\"<%=CDN %>/js/references.display.js<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\"></script>\n<script src=\"<%=CDN %>/js/header.js<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\"></script>\n<% scripts.forEach(function(script){%><script src=\"<%=CDN %><%=script %><%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\"></script><%})%>\n</body>\n</html>"; | ||
exports.ADMIN = "<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" wecontent=\"ie=edge\">\n<title><%=(locals.title?'':title)%></title>\n<link href=\"<%=CDN %>/css/theme-admin.css<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\" rel=\"stylesheet\">\n<link href=\"<%=CDN %>/css/iconfont.css<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\" rel=\"stylesheet\">\n<link href=\"<%=CDN %>/css/admin.css<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\" rel=\"stylesheet\">\n<% links.forEach(function(link){%><link href=\"<%=CDN %><%=link %><%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\" rel=\"stylesheet\" /><%})%>\n<script src=\"<%=CDN %>/js/references.admin.js<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\"></script>\n</head>\n<body <%=GLOBAL_VERSION?'version=\"'+GLOBAL_VERSION+'\"':''%> >\n<div id=\"root\"></div>\n<script src=\"<%=CDN %>/js/admin.js<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\"></script>\n<% scripts.forEach(function(script){%><script src=\"<%=CDN %><%=script %><%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\"></script><%})%>\n</body>\n</html>"; | ||
exports.SCREEN = "<!DOCTYPE html>\n<html>\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n <meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n <title><%=(locals.title?'':title)%></title>\n <link href=\"<%=CDN %>/css/theme-screen.css<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\" rel=\"stylesheet\">\n <link href=\"<%=CDN %>/css/vap.css<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\" rel=\"stylesheet\">\n <link href=\"<%=CDN %>/css/iconfont.css<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\" rel=\"stylesheet\">\n <% links.forEach(function(link){%><link href=\"<%=link %><%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\" rel=\"stylesheet\" /><%})%>\n <script src=\"<%=CDN %>/js/references.screen.js<%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\"></script>\n</head>\n<body class=\"vap-screen\" <%=GLOBAL_VERSION?'version=\"'+GLOBAL_VERSION+'\"':''%> >\n<div id=\"root\"></div> \n</body>\n<% scripts.forEach(function(script){%><script src=\"<%=CDN %><%=script %><%=GLOBAL_RELEASE?'?'+GLOBAL_RELEASE:''%>\"></script><%})%>\n</html>"; |
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
26824