generated from coulomb/repo-seed
Complete integration of refactored testdrive-jsui capability: ## Refactored Architecture - js/ - All JavaScript source (controls, components, core) - static/ - CSS, images, templates - src/testdrive_jsui/ - Python package - tests/ - Python tests ## Plugin Self-Declaration - get_plugin_source_dir() - plugin declares own location - get_asset_paths() - organized asset paths - No hardcoded discovery logic ## Merged Content - Baseline UI scaffold (tutorials, LICENSE, INTRODUCTION.md) - Refactored capability implementation - Comprehensive documentation Ready for standalone use or integration with markitect. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
105 lines
2.3 KiB
JSON
105 lines
2.3 KiB
JSON
{
|
|
"name": "testdrive-jsui",
|
|
"version": "0.1.0",
|
|
"description": "JavaScript UI testing framework capability for MarkiTect",
|
|
"main": "js/index.js",
|
|
"directories": {
|
|
"test": "js/tests"
|
|
},
|
|
"scripts": {
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"test:coverage": "jest --coverage",
|
|
"test:verbose": "jest --verbose",
|
|
"test:specific": "jest --testNamePattern",
|
|
"lint": "eslint js/**/*.js",
|
|
"lint:fix": "eslint js/**/*.js --fix",
|
|
"dev": "npm run test:watch",
|
|
"build": "echo 'No build step required for this package'",
|
|
"clean": "rm -rf coverage/ .nyc_output/ node_modules/.cache/"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/markitect/testdrive-jsui.git"
|
|
},
|
|
"keywords": [
|
|
"javascript",
|
|
"testing",
|
|
"ui",
|
|
"framework",
|
|
"markitect",
|
|
"tdd",
|
|
"dom",
|
|
"components"
|
|
],
|
|
"author": "MarkiTect Project",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"jest": "^29.7.0",
|
|
"jest-environment-jsdom": "^29.7.0",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-standard": "^17.1.0",
|
|
"eslint-plugin-jest": "^27.6.0",
|
|
"@babel/preset-env": "^7.23.0",
|
|
"@babel/core": "^7.23.0",
|
|
"babel-jest": "^29.7.0"
|
|
},
|
|
"dependencies": {
|
|
"jsdom": "^23.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": [
|
|
"<rootDir>/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"
|
|
}
|
|
}
|
|
} |