Skip to content

Commit

Permalink
added site build process; dropped pre-publish build
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneCypher committed Jul 13, 2017
1 parent 840d83d commit f4e1bab
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/jssm.es5.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/jssm.es5.cjs.min.js

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions docs/index.html
@@ -0,0 +1,21 @@
<!doctype html>
<html>

<head>
</head>

<body>

<h1>JSSM</h1>

<ul>
<li><a href="https://github.com/StoneCypher/jssm">Github</a></li>
<li><a href="https://www.npmjs.com/package/jssm">NPM</a></li>
<li><a href="https://stonecypher.github.io/jssm/lib/">Library documentation</a></li>
<li><a href="https://coveralls.io/github/StoneCypher/jssm">Coveralls</a></li>
<li><a href="https://codeclimate.com/github/StoneCypher/jssm">Code Climate</a></li>
</ul>

</body>

</html>
4 changes: 2 additions & 2 deletions docs/lib/index.html
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta charset='utf-8' />
<title>jssm 3.4.0 | Documentation</title>
<title>jssm 3.5.0 | Documentation</title>
<meta name='viewport' content='width=device-width,initial-scale=1'>
<link href='assets/bass.css' type='text/css' rel='stylesheet' />
<link href='assets/style.css' type='text/css' rel='stylesheet' />
Expand All @@ -14,7 +14,7 @@
<div class='fixed xs-hide fix-3 overflow-auto max-height-100'>
<div class='py1 px2'>
<h3 class='mb0 no-anchor'>jssm</h3>
<div class='mb1'><code>3.4.0</code></div>
<div class='mb1'><code>3.5.0</code></div>
<input
placeholder='Filter'
id='filter-input'
Expand Down
8 changes: 4 additions & 4 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "jssm",
"version": "3.4.0",
"version": "3.5.0",
"engines": {
"node": ">=6.0.0"
},
Expand All @@ -25,12 +25,12 @@
"coverage": "nyc report --reporter=text-lcov | coveralls",
"vet": "npm run flow && npm run eslint",
"audit": "echo \\\"major\\\" remaining. . : `grep major src/js/jssm*.js | wc -l`\\\\n\\\"wasteful\\\" remaining : `grep wasteful src/js/jssm*.js | wc -l`\\\\n\\\"any\\\" remaining. . . : `grep any src/js/jssm*.js | wc -l`\\\\n\\\"mixed\\\" remaining. . : `grep mixed src/js/jssm*.js | wc -l`\\\\n\\\"todo\\\" remaining . . : `grep todo src/js/jssm*.js | wc -l`\\\\n\\\"nextdo\\\" remaining . : `grep nextdo src/js/jssm*.js | wc -l`\\\\n\\\"whargarbl\\\" remaining: `grep whargarbl src/js/jssm*.js | wc -l`\\\\n\\\"comeback\\\" remaining : `grep comeback src/js/jssm*.js | wc -l`\\\\n\\\"fixme\\\" remaining. . : `grep fixme src/js/jssm*.js | wc -l`\\\\n\\\"stochable\\\" remaining: `grep stochable src/js/jssm*.js | wc -l`\\\\n\\\"checkme\\\" remaining. : `grep checkme src/js/jssm*.js | wc -l`",
"qbuild": "npm run make && npm run test-verbose && npm run minify && npm run docs && npm run dist",
"build": "npm run make && npm run vet && npm run test-verbose && npm run audit && npm run minify && npm run docs && npm run dist",
"qbuild": "npm run make && npm run test-verbose && npm run minify && npm run docs && npm run site && npm run dist",
"build": "npm run make && npm run vet && npm run test-verbose && npm run audit && npm run minify && npm run docs && npm run site && npm run dist",
"nyc-build": "npm run vet && npm run make && npm run test-verbose && npm run audit && npm run nyc-test",
"prepublish": "npm run build",
"minify": "uglifyjs ./build/jssm.es5.cjs.js -o ./build/jssm.es5.cjs.min.js --compress",
"dist": "cp build/jssm.es5.cjs.* dist/",
"site": "cp src/site/* docs/",
"docs": "documentation build src/js/** -f html -o docs/lib",
"travis": "rm -f src/js/jssm-dot.js && npm run nyc-test && npm run coverage"
},
Expand Down
21 changes: 21 additions & 0 deletions src/site/index.html
@@ -0,0 +1,21 @@
<!doctype html>
<html>

<head>
</head>

<body>

<h1>JSSM</h1>

<ul>
<li><a href="https://github.com/StoneCypher/jssm">Github</a></li>
<li><a href="https://www.npmjs.com/package/jssm">NPM</a></li>
<li><a href="https://stonecypher.github.io/jssm/lib/">Library documentation</a></li>
<li><a href="https://coveralls.io/github/StoneCypher/jssm">Coveralls</a></li>
<li><a href="https://codeclimate.com/github/StoneCypher/jssm">Code Climate</a></li>
</ul>

</body>

</html>

0 comments on commit f4e1bab

Please sign in to comment.