UNPKG

filestojson

Version:

Static data generator based on static files

69 lines (68 loc) 1.72 kB
{ "name": "filestojson", "version": "1.0.2", "description": "Static data generator based on static files", "main": "lib/index.js", "scripts": { "filestojson": "./lib/cli.js ./examples/config.js", "compile": "babel src --out-dir lib", "prepublish": "npm run compile", "test": "jest --watch --verbose", "examples": "http-server ./examples & open http://127.0.0.1:8080", "deploy": "touch ./.nojekyll && gh-pages-deploy", "clean-source": "rimraf README.md lib src tests examples .babelrc .editorconfig .gitignore .npmignore LICENSE package.json" }, "repository": { "type": "git", "url": "git+https://github.com/bernardodiasc/filestojson.git" }, "keywords": [ "cms", "static-files", "static-database", "nodejs", "json", "javascript", "markdown", "frontmatter" ], "author": "Bernardo Dias <bernardodiasdacruz@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/bernardodiasc/filestojson/issues" }, "homepage": "https://github.com/bernardodiasc/filestojson#readme", "bin": { "filestojson": "./lib/cli.js" }, "dependencies": { "babel-cli": "^6.26.0", "babel-preset-env": "^1.6.0", "front-matter": "^2.1.2", "fs-extra": "^4.0.1", "joi": "^10.6.0", "meow": "^3.7.0", "png-js": "^0.1.1" }, "devDependencies": { "jest": "^20.0.4", "gh-pages-deploy": "^0.4.2", "rimraf": "^2.6.1" }, "jest": { "modulePathIgnorePatterns": [ "<rootDir>/examples/data.json" ] }, "gh-pages-deploy": { "staticpath": "examples", "prep": [ "compile", "filestojson" ], "post": [ "clean-source" ], "noprompt": false } }