UNPKG

dna-engine

Version:

An uncomplicated user interface library for cloning semantic templates

160 lines (159 loc) 5.71 kB
{ "name": "dna-engine", "version": "3.2.6", "description": "An uncomplicated user interface library for cloning semantic templates", "license": "MIT", "type": "module", "module": "dist/dna-engine.js", "browser": "dist/dna-engine.min.js", "style": "dist/dna-engine.css", "types": "dist/dna-engine.d.ts", "exports": { ".": "./dist/dna-engine.js", "./": "./dist/" }, "files": [ "dist" ], "repository": { "type": "git", "url": "git+https://github.com/dna-engine/dna-engine.git" }, "homepage": "https://dna-engine.org", "bugs": "https://github.com/dna-engine/dna-engine/issues", "docs": "https://dna-engine.org/docs", "author": "Center Key (https://centerkey.com)", "keywords": [ "clone", "dom", "engine", "html", "jamstack", "json", "template", "templating", "typescript", "ui" ], "meta": { "summary": "dna-engine is a lightweight easy-to-use UI library enabling developers to rapidly build maintainable JavaScript applications." }, "jshintConfig": { "esversion": 11, "strict": "implied", "eqeqeq": true, "singleGroups": true, "nonbsp": true, "undef": true, "unused": true, "varstmt": true, "browser": true, "mocha": true, "node": true, "globals": { "dna": true } }, "websiteInfo": { "gzipSize": "9 kb gzip", "jsFiddle": { "addABook": "12nrev6j", "bookFinder": "ztsr4qm9", "clickEvents": "Lkejw4sd", "liveModel": "p5exnfuq", "panelsClick": "5kguwjaq", "panelsDropDown": "2cmkzxt0", "photoUpload": "f4y5cjon", "smartUpdates": "pj8vkxrw", "toDo": "4jkua81f" }, "youTube": { "intro": "1CrYAFZPdAg", "tutorial": "5ZTP0FxFiYA" } }, "runScriptsConfig": { "clean": [ "rimraf build dist" ], "minimize-visual": [ "replacer spec/visual.html spec --rename=visual.min.html --find=dist/dna-engine.dev.js --replacement=dist/dna-engine.min.js" ], "lint": [ "jshint . --exclude-path .gitignore", "eslint --max-warnings 0", "html-validator spec" ], "build": [ "tsc", "copy-file src/dna-engine.css --folder build", "copy-file website/static/panel-nav.css --folder build" ], "publish": [ "esm-to-plain-js build/dna-engine.js build/dna-engine.dev.js", "uglifyjs build/dna-engine.dev.js --output build/dna-engine.min.js", "add-dist-header build dist" ], "dev": [ "tsc --watch --preserveWatchOutput", "chokidar 'build/dna-engine.js' --command 'run-scripts publish'", "browser-sync . --directory --startPath spec/visual.html --files dist spec" ], "web": [ "rimraf website-target", "copy-folder website/static website-target/1-stage", "replacer website/static website-target/1-stage --ext=.html", "replacer website/root website-target/1-stage --ext=.html", "replacer spec --ext=.html website-target/1-stage/spec --find=../dist/ --replacement=https://cdn.jsdelivr.net/npm/dna-engine@{{package.version{{pipe}}minor-version}}/dist/" ], "web-dev": [ "copy-folder website-target/1-stage website-target/2-dev", "replacer website-target/1-stage website-target/2-dev --ext=.html '--regex=/https:.*dna-engine.min.js/m' --replacement=/dist/dna-engine.dev.js{{space}}class{{equals}}dev-mode" ], "web-publish": [ "copy-file website-target/1-stage/project.html docs/index.html", "rev-web-assets website-target/1-stage --manifest --skip=social-media website-target/3-prod --meta-content-base=https://dna-engine.org", "copy-file website/static/assets/bookmark.png --folder website-target/3-prod/graphics", "copy-file website/static/assets/dna-logo.png --folder website-target/3-prod/graphics", "copy-file website/static/assets/mobile-home-screen.png --folder website-target/3-prod/graphics", "copy-file website/static/assets/social-media/sample-book-cover.jpg --folder website-target/3-prod/graphics", "html-validator website-target/3-prod" ] }, "scripts": { "pretest": "run-scripts clean minimize-visual lint build publish", "test": "mocha spec/*.spec.js", "dev": "npm test && run-scripts dev --parallel", "build-website": "run-scripts minimize-visual web web-dev web-publish", "interactive": "browser-sync . --startPath website-target/2-dev --files website-target/2-dev" }, "devDependencies": { "@eslint/js": "~9.11", "@fortawesome/fontawesome-free": "~6.6", "@types/node": "~22.7", "add-dist-header": "~1.4", "assert-deep-strict-equal": "~1.2", "browser-sync": "~3.0", "chokidar-cli": "~3.0", "copy-file-util": "~1.2", "copy-folder-util": "~1.1", "eslint": "~9.11", "esm-to-plain-js": "~1.1", "fetch-json": "~3.3", "highlight.js": "~11.10", "hljs-enhance": "~2.0", "jsdom": "~25.0", "jshint": "~2.13", "mocha": "~10.7", "replacer-util": "~1.3", "rev-web-assets": "~1.4", "rimraf": "~6.0", "run-scripts-util": "~1.3", "serve": "~14.2", "typescript": "~5.6", "typescript-eslint": "~8.7", "uglify-js": "~3.19", "w3c-html-validator": "~1.8", "web-ignition": "~2.2" } }