{ "name": "testdrive-jsui", "version": "1.0.0", "description": "JavaScript-first markdown editor library with interactive UI", "type": "module", "main": "dist/testdrive-jsui.cjs.js", "module": "dist/testdrive-jsui.esm.js", "browser": "dist/testdrive-jsui.min.js", "style": "dist/testdrive-jsui.css", "unpkg": "dist/testdrive-jsui.min.js", "jsdelivr": "dist/testdrive-jsui.min.js", "types": "dist/index.d.ts", "files": [ "dist/", "README.md", "LICENSE", "CHANGELOG.md" ], "scripts": { "build": "rollup -c", "build:watch": "rollup -c -w", "build:prod": "NODE_ENV=production rollup -c", "dev": "npm run build:watch", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "test:verbose": "jest --verbose", "prepublishOnly": "npm run build:prod && npm test", "lint": "eslint js/**/*.js src/**/*.js", "lint:fix": "eslint js/**/*.js src/**/*.js --fix", "clean": "rm -rf dist/ coverage/ .nyc_output/ node_modules/.cache/", "size": "npm run build:prod && du -h dist/*" }, "repository": { "type": "git", "url": "https://github.com/markitect/testdrive-jsui.git" }, "keywords": [ "markdown", "editor", "javascript", "ui", "wysiwyg", "contenteditable", "section-editing", "interactive", "browser", "frontend", "marked", "markdown-editor" ], "author": "MarkiTect Team ", "license": "MIT", "bugs": { "url": "https://github.com/markitect/testdrive-jsui/issues" }, "homepage": "https://github.com/markitect/testdrive-jsui#readme", "peerDependencies": { "marked": "^11.0.0 || ^12.0.0 || ^13.0.0" }, "peerDependenciesMeta": { "marked": { "optional": false } }, "devDependencies": { "@babel/core": "^7.23.0", "@babel/preset-env": "^7.23.0", "@rollup/plugin-babel": "^6.1.0", "@rollup/plugin-commonjs": "^29.0.0", "@rollup/plugin-node-resolve": "^16.0.3", "@rollup/plugin-terser": "^0.4.4", "autoprefixer": "^10.4.23", "babel-jest": "^29.7.0", "cssnano": "^7.1.2", "eslint": "^8.57.0", "eslint-config-standard": "^17.1.0", "eslint-plugin-jest": "^27.6.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "postcss": "^8.5.6", "postcss-import": "^16.1.1", "rollup": "^4.53.5", "rollup-plugin-postcss": "^4.0.2" }, "dependencies": { "jsdom": "^23.0.0" }, "engines": { "node": ">=14.0.0", "npm": ">=6.0.0" }, "jest": { "testEnvironment": "jsdom", "testMatch": [ "**/js/tests/**/*.test.js" ], "testPathIgnorePatterns": [ "/node_modules/", "js/tests/refactor-test-runner.js", "js/tests/setup.js" ], "collectCoverageFrom": [ "js/core/**/*.js", "js/components/**/*.js", "js/utils/**/*.js", "!js/tests/**/*.js", "!**/node_modules/**" ], "coverageDirectory": "coverage", "coverageReporters": [ "text", "lcov", "html" ], "setupFilesAfterEnv": [ "/js/tests/jest.setup.js" ], "verbose": true }, "babel": { "presets": [ [ "@babel/preset-env", { "targets": { "node": "current" } } ] ] }, "eslintConfig": { "extends": [ "standard", "plugin:jest/recommended" ], "env": { "browser": true, "jest": true, "node": true }, "plugins": [ "jest" ], "rules": { "no-console": "warn", "no-debugger": "error" } } }