Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

symply

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

symply - npm Package Compare versions

Comparing version 0.0.15 to 0.1.0

.eslintrc.js

5

bin/symply.js
#!/usr/bin/env node
require('../index')
// CLI usage
require('../dist/config').CommandLineMode = true
require('../dist/mainCli')()

11

index.js

@@ -1,1 +0,10 @@

require('./src/main')()
/* eslint-disable */
// Module usage
// const config = require('./dist/config')
// require('./dist/src/logo').printLogo(100)
module.exports = {
generate: async (configuration) => require('./dist/src/mainLib')(configuration),
}
{
"name": "symply",
"version": "0.0.15",
"version": "0.1.0",
"description": "A dead-simple Bootstrap static site generator.",

@@ -21,8 +21,10 @@ "author": "Oleg Legun <oleg.legun@gmail.com>",

"scripts": {
"compile": "npm run dist:clear && npx tsc",
"watch": "npm run dist:clear && npx tsc -w",
"dist:clear": "rm -rf dist",
"start": "node index.js",
"test": "tape test/**/*.js | tap-spec"
"lint": "npx eslint . --ext .js,.jsx,.ts,.tsx",
"test": "npm run compile && tape test/**/*.js | tap-spec"
},
"dependencies": {
"@babel/core": "7.8.3",
"@babel/preset-react": "7.8.3",
"better-opn": "1.0.0",

@@ -32,7 +34,12 @@ "chalk": "3.0.0",

"handlebars": "4.7.2",
"html-minifier": "^4.0.0",
"js-yaml": "3.13.1",
"prettier": "1.19.1",
"lodash": "^4.17.19",
"node-sass": "^4.14.1",
"prettier": "^2.0.5",
"progress": "2.0.3",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"sass": "^1.26.10",
"strip-ansi": "^6.0.0",
"update-notifier": "4.0.0",

@@ -42,2 +49,20 @@ "yargs": "15.1.0"

"devDependencies": {
"@babel/core": "7.8.3",
"@babel/preset-react": "7.8.3",
"@types/babel__core": "^7.1.9",
"@types/html-minifier": "^4.0.0",
"@types/node-sass": "^4.11.1",
"@babel/types": "^7.10.5",
"@types/babel-core": "^6.25.6",
"@types/fs-extra": "^9.0.1",
"@types/js-yaml": "^3.12.5",
"@types/lodash": "^4.14.158",
"@types/node": "^14.0.27",
"@types/prettier": "^2.0.2",
"@types/progress": "^2.0.3",
"@types/react": "^16.9.43",
"@types/react-dom": "^16.9.8",
"@types/update-notifier": "^4.1.0",
"@typescript-eslint/eslint-plugin": "^3.8.0",
"@typescript-eslint/parser": "^3.8.0",
"eslint": "^6.8.0",

@@ -47,4 +72,6 @@ "eslint-config-google": "^0.14.0",

"tap-spec": "^5.0.0",
"tape": "^4.13.0"
}
"tape": "^4.13.0",
"typescript": "^3.9.7"
},
"types": "./index.d.ts"
}
![Logo](./assets/logo.png)
A dead-simple **Bootstrap static site generator** with great flexibility and control.
A dead-simple **static site generator** with great flexibility and control.
Main advantages:
- Minimum magic - maximum transparency
- Total control of the generation process
- JSX support for generator functions
- JSX support for generation helper functions
- SASS/SCSS styles compilation support
- Built-in web server with watch mode for instant development preview on every file change

@@ -28,2 +31,12 @@ **Symply** is based on well-known fast and reliable [Handlebars.js](https://github.com/wycats/handlebars.js) templating engine.

Coming soon...
## Basic Commands
### Partial interpolation
Insert content of a `partial` file by its name.
> Use partial name without its `.html` extension, e.g. `myPartial.html` -> `{{> myPartial }}`.
```handlebars
{{> myPartial }}
```

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc