UNPKG

dsl-framework

Version:
131 lines (130 loc) 4.22 kB
{ "name": "dsl-framework", "version": "1.8.36", "description": "Easy function chaining.", "main": "./src/index.js", "module": "./dist/src/index.mjs", "exports": { ".": { "require": "./src/index.js", "import": "./dist/src/index.mjs", "types": "./dist/src/index.d.ts" } }, "scripts": { "pub": "npm run clean; npm run babel; npm version patch --force && npm publish", "test-common": "npm run clean && npx mocha --recursive tests/tests/**/*-spec.js", "test-dev": "npm run clean && npm run babel-test && npx mocha --recursive dist/tests/tests/**/*-spec.js", "test-dev-unit": "npm run clean && node_modules/.bin/mocha --recursive tests/tests/node/unit/*-spec.js", "test": "PROD=true npx nyc --reporter=lcov --reporter=clover --reporter=text --cache npm run test-common", "test-project": "npm run license-check && node_modules/.bin/depcheck --ignores \"@types/node,require-a-lot,cowlog,flat,lodash,rimraf,generic-text-linker,jasmine-core,karma-chrome-launcher,karma-jasmine,eslint*\" && npm run standard-fix", "test-all": "npm run test-project && npm test", "test-all-dev": "npm run test-project && npm run test-dev", "clean": "npx rimraf dist tmp && mkdir dist && mkdir tmp", "standard-fix": "npx standard --fix", "license-check": "npx license-checker --failOn unknown --summary", "web": "npm run browserify && npm run minify && node tools/create-sample-page", "browserify": "mkdir dist/web -p && node_modules/.bin/browserify -o dist/web/dsl-framework.js -e src/index.js --exclude src/examples", "minify": "node_modules/.bin/minify dist/web/dsl-framework.js > dist/web/dsl-framework.min.js", "karma": "node_modules/.bin/karma start my.conf.js", "babel": "npm run clean; npx babel ./ --ignore node_modules,dist,coverage,tmp,tests,tools,my.conf.js -d dist; cp src/index.d.ts dist/src;node bin/renameFilesAndImports.js js mjs dist/src/", "babel-test": "npm run babel; npx babel ./ --ignore node_modules,dist,coverage,tmp,tools,my.conf.js -d dist ; node bin/renameFilesAndImports.js js mjs dist/tests/" }, "repository": { "type": "git", "url": "https://github.com/dsl-toolkit/dsl-toolkit.git" }, "keywords": [ "curry", "currying", "unlimited", "arguments", "unlimited", "arguments", "wrapper", "tool", "tooling", "functional programming", "programming", "functional", "function", "chaining", "method", "method chaining", "chaining", "fluent interface", "fluent", "interface", "domain specific", "domanin specific language", "method cascading", "cascading", "builder pattern", "builder", "pattern" ], "author": "Imre Toth", "license": "MIT", "bugs": { "url": "https://github.com/dsl-toolkit/refresh-me/issues" }, "homepage": "https://github.com/dsl-toolkit/dsl-toolkit/tree/master/packages/dsl-framework", "devDependencies": { "@babel/cli": "^7.19.3", "@babel/core": "^7.20.5", "@babel/polyfill": "^7.12.1", "@babel/preset-env": "^7.20.2", "babel-plugin-transform-commonjs": "^1.1.6", "browserify": "^17.0.0", "chai": "^4.3.4", "depcheck": "^1.4.2", "eslint": "^7.32.0", "eslint-config-standard": "^8.0.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.3.1", "eslint-plugin-standard": "^5.0.0", "jasmine-core": "^3.6.0", "karma": "^6.1.1", "karma-chrome-launcher": "^3.1.0", "karma-jasmine": "^4.0.1", "license-checker": "^25.0.1", "minify": "^7.0.1", "mocha": "^10.0.0", "nyc": "^15.1.0", "rimraf": "^3.0.2", "semver": "^7.3.4", "standard": "^16.0.3" }, "engines": { "node": ">=7.6.4" }, "nyc": { "exclude": [ "**/tests/**" ] }, "standard": { "ignore": [ "/dist", "/coverage/", "/build/", "/tmp/" ], "globals": [ "describe", "context", "before", "beforeEach", "after", "afterEach", "it", "expect" ] }, "files": [ "dist/src/**", "src/**" ], "gitHead": "5bbd860ddd05e0824172efd2a8d75124ecd0e790" }