64 lines
2.3 KiB
JSON
64 lines
2.3 KiB
JSON
{
|
|
"name": "morphdom",
|
|
"description": "Morph a DOM tree to another DOM tree (no virtual DOM needed)",
|
|
"main": "dist/morphdom.js",
|
|
"module": "dist/morphdom-esm.js",
|
|
"jsnext:main": "dist/morphdom-esm.js",
|
|
"types": "./index.d.ts",
|
|
"scripts": {
|
|
"build": "npm run rollup && npm run minify",
|
|
"test": "npm run build && npm run test-browser && npm run lint",
|
|
"benchmark": "npm run benchmark-browser",
|
|
"all": "npm run all-browser && npm run lint",
|
|
"lint": "jshint src/",
|
|
"minify": "uglifyjs ./dist/morphdom-umd.js -o ./dist/morphdom-umd.min.js",
|
|
"rollup": "npm run rollup-default && npm run rollup-factory && npm run rollup-default-umd && npm run rollup-default-esm",
|
|
"rollup-default": "rollup src/index.js -o dist/morphdom.js --format cjs",
|
|
"rollup-default-umd": "rollup src/index.js -o dist/morphdom-umd.js --format umd --name morphdom",
|
|
"rollup-default-esm": "rollup src/index.js -o dist/morphdom-esm.js --format es",
|
|
"rollup-factory": "rollup src/morphdom.js -o dist/morphdom-factory.js --format cjs",
|
|
"test-browser": "node test/mocha-headless/run.js test",
|
|
"benchmark-browser": "node test/mocha-headless/run.js benchmark",
|
|
"all-browser": "node test/mocha-headless/run.js test benchmark",
|
|
"mocha-chrome": "node test/mocha-headless/run.js",
|
|
"mocha-chrome-run": "mocha-chrome ./test/mocha-headless/generated/test-page.html",
|
|
"prepublish": "npm run build",
|
|
"start": "node examples/server.js"
|
|
},
|
|
"author": "Patrick Steele-Idem <pnidem@gmail.com>",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/patrick-steele-idem/morphdom.git"
|
|
},
|
|
"devDependencies": {
|
|
"@lasso/marko-taglib": "^1.0.15",
|
|
"async": "^2.0.0",
|
|
"browser-refresh-taglib": "^1.1.0",
|
|
"chai": "^4.2.0",
|
|
"diffhtml": "^1.0.0-beta.10",
|
|
"express": "^4.14.0",
|
|
"ignoring-watcher": "^1.0.5",
|
|
"jshint": "^2.7.0",
|
|
"lasso": "^3.2.9",
|
|
"lasso-marko": "^2.4.7",
|
|
"marko": "^4.1.3",
|
|
"mocha": "^6.2.2",
|
|
"mocha-chrome": "^2.2.0",
|
|
"nanomorph": "^5.4.0",
|
|
"rollup": "^1.4.1",
|
|
"uglify-js": "^3.7.0",
|
|
"vdom-virtualize": "2.0.0",
|
|
"virtual-dom": "^2.1.1"
|
|
},
|
|
"dependencies": {},
|
|
"version": "2.7.3",
|
|
"keywords": [
|
|
"dom",
|
|
"diff",
|
|
"patch",
|
|
"virtual",
|
|
"browser"
|
|
]
|
|
}
|