Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
shellyln committed Sep 7, 2018
0 parents commit 731a207
Show file tree
Hide file tree
Showing 49 changed files with 11,380 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"sourceMaps": true,
"presets": [
["env", {
"targets": {
"node": "current"
}
}]
],
"ignore": []
}
61 changes: 61 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release


# Visual Studio files
/.vs/

# VS Code cache files
/.vscode/.browse.VC*

# Dependency directory
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
/node_modules/

# Bin directory
/bin/
/bin.cli/
/bin.test/

# ES2015 modules (for webpack)
/modules/

# Declarations directory
/declarations/

# Dist directory
/dist/

# Debug output directory
/debug/

# NPM files
.npmrc
78 changes: 78 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release


# Visual Studio files
/.vs/

# VS Code cache files
/.vscode/.browse.VC*

# Dependency directory
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
/node_modules/

# Bin directory
# /bin/
# /bin.cli/
/bin.test/

# ES2015 modules (for webpack)
# /modules/

# Declarations directory
# /declarations/

# Dist directory
/dist/

# Debug output directory
/debug/

# NPM files
.npmrc



###################
#### npmignore ####

/.vscode/
/spec/
.babelrc
.travis.yml
tsconfig.json
tsconfig.spec.json
tslint.json
webpack.config.js

/src.dist/
webpack.dist.config.js
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
language: node_js
node_js:
- "8"
- "9"

#branches:
# only:
# - master

sudo: false

before_script:
- npm run clean
- npm run lint
- npm run build
- npm test
119 changes: 119 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program (html->html)",
"program": "${workspaceRoot}/bin.cli/menneu.js",
"args": [
"examples/html-demo/html-demo.html",
"-d",
"examples/html-demo/html-demo.data.lisp",
"-o",
"debug/debug.html"
],
"outFiles": [
"${workspaceRoot}/bin.cli/menneu.js"
]
},
{
"type": "node",
"request": "launch",
"name": "Launch Program (md->html)",
"program": "${workspaceRoot}/bin.cli/menneu.js",
"args": [
"examples/markdown-demo/markdown-demo.md",
"-c",
"examples/markdown-demo/menneu.config.js",
"-d",
"examples/markdown-demo/markdown-demo.data.lisp",
"-o",
"debug/debug.html"
],
"outFiles": [
"${workspaceRoot}/bin.cli/menneu.js"
]
},
{
"type": "node",
"request": "launch",
"name": "Launch Program (md->pdf)",
"program": "${workspaceRoot}/bin.cli/menneu.js",
"args": [
"examples/markdown-demo/markdown-demo.md",
"-d",
"examples/markdown-demo/markdown-demo.data.lisp",
"-o",
"debug/debug.pdf"
],
"outFiles": [
"${workspaceRoot}/bin.cli/menneu.js"
]
},
{
"type": "node",
"request": "launch",
"name": "Launch Program (lsx->html)",
"program": "${workspaceRoot}/bin.cli/menneu.js",
"args": [
"examples/billing/billing.lsx",
"-c",
"examples/billing/menneu.config.js",
"-d",
"examples/billing/billing.data.lisp",
"-o",
"debug/debug.html"
],
"outFiles": [
"${workspaceRoot}/bin.cli/menneu.js"
]
},
{
"type": "node",
"request": "launch",
"name": "Launch Program (lsx->pdf)",
"program": "${workspaceRoot}/bin.cli/menneu.js",
"args": [
"examples/billing/billing.lsx",
"-c",
"examples/billing/menneu.config.js",
"-d",
"examples/billing/billing.data.lisp",
"-o",
"debug/debug.pdf"
],
"outFiles": [
"${workspaceRoot}/bin.cli/menneu.js"
]
},
{
"type": "node",
"request": "launch",
"name": "Watch (md->html)",
"program": "${workspaceRoot}/bin.cli/menneu.js",
"args": [
"examples/markdown-demo/markdown-demo.md",
"-c",
"examples/markdown-demo/menneu.config.js",
"-d",
"examples/markdown-demo/markdown-demo.data.lisp",
"-o",
"debug/debug.html",
"--watch"
],
"outFiles": [
"${workspaceRoot}/bin.cli/menneu.js"
]
},
{
"type": "node",
"request": "launch",
"name": "Launch Test",
"program": "${workspaceRoot}/node_modules/jasmine/bin/jasmine.js",
"outFiles": [
"${workspaceRoot}/bin.test/index.spec.js"
]
}
]
}
13 changes: 13 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# ISC License (ISC)

### Copyright (c) 2017, Shellyl_N and Authors
#### https://github.com/shellyln

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby
granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL,
DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
OR PERFORMANCE OF THIS SOFTWARE.
Loading

0 comments on commit 731a207

Please sign in to comment.