UNPKG

cash-dom

Version:

An absurdly small jQuery alternative for modern browsers.

43 lines (42 loc) 2.01 kB
{ "name": "cash-dom", "repository": "github:fabiospampinato/cash", "description": "An absurdly small jQuery alternative for modern browsers.", "version": "8.1.5", "license": "MIT", "browser": "./dist/cash.js", "main": "./dist/cash.js", "module": "./dist/cash.esm.js", "jsnext:main": "./dist/cash.esm.js", "types": "dist/cash.d.ts", "files": [ "dist" ], "scripts": { "build": "bash ./tasks/build.sh", "watch": "monex --watch src --exec npm:build", "dev": "npm run build && npm run watch", "test": "open ./test/index.html", "test:jquery:init": "( git -C ./test/jquery reset --hard HEAD && git -C ./test/jquery pull ) || git clone https://github.com/jquery/jquery.git ./test/jquery", "test:jquery": "npm run test:jquery:init && npm run test:jquery:build && cd ./test/jquery && npm i && opn http://localhost:4444/test/index.html\\?module=css && php -S localhost:4444", "test:jquery:build": "cat ./node_modules/jquery/dist/jquery.js ./dist/cash.js ./test/jquery_patch.js > ./test/jquery/dist/jquery.js && cp ./test/jquery/dist/jquery.js ./test/jquery/dist/jquery.min.js", "test:jquery:build:watch": "while sleep 1; do npm run test:jquery:build; done", "test:jquery:reverse": "npm run test:jquery:init && npm run test:jquery:reverse:build && npm run test:watch", "test:jquery:reverse:build": "cat ./node_modules/jquery/dist/jquery.js ./dist/cash.min.js ./test/jquery_reverse_patch.js > ./dist/cash.js", "test:jquery:reverse:build:watch": "while sleep 1; do npm run test:jquery:reverse:build; done", "test:playwright": "node ./test/playwright.mjs", "graph": "minipacco graph src/export_esm.ts", "prepublishOnly": "npm run build && npm run test:playwright" }, "devDependencies": { "esbuild": "^0.17.10", "jquery": "^3.6.3", "minipacco": "^1.0.4", "monex": "^2.0.0", "playwright": "^1.30.0", "qunit": "^2.19.4", "qunit-ava-spec": "^2.0.0", "tiny-colors": "^2.0.2", "typescript": "^4.9.5" } }