python2igcse
Version:
Convert Python code to IGCSE Pseudocode format
145 lines (144 loc) • 3.45 kB
JSON
{
"name": "python2igcse",
"version": "1.0.0",
"description": "Convert Python code to IGCSE Pseudocode format",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"python2igcse": "dist/cli.js"
},
"scripts": {
"build": "tsc",
"build:watch": "tsc --watch",
"dev": "ts-node src/index.ts",
"cli": "ts-node src/cli.ts",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"format": "prettier --write src/**/*.ts",
"clean": "rimraf dist",
"prepublishOnly": "npm run clean && npm run build",
"start": "node dist/index.js",
"docs": "typedoc src/index.ts",
"validate": "npm run lint && npm run test",
"release": "npm run validate && npm run build && npm publish"
},
"keywords": [
"python",
"igcse",
"pseudocode",
"converter",
"education",
"computer-science",
"cambridge",
"exam",
"programming",
"transpiler"
],
"author": {
"name": "fairy-pitta",
"url": "https://github.com/fairy-pitta"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/fairy-pitta/python2igsce.git"
},
"bugs": {
"url": "https://github.com/fairy-pitta/python2igsce/issues"
},
"homepage": "https://github.com/fairy-pitta/python2igsce#readme",
"engines": {
"node": ">=14.0.0",
"npm": ">=6.0.0"
},
"files": [
"dist/**/*",
"README.md",
"LICENSE",
"package.json"
],
"type": "commonjs",
"dependencies": {
"chokidar": "^3.5.3",
"commander": "^11.1.0",
"glob": "^10.3.10"
},
"devDependencies": {
"@types/jest": "^29.5.5",
"@types/node": "^24.0.1",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"@vitest/ui": "^3.2.3",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.7.0",
"prettier": "^3.0.3",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typedoc": "^0.25.2",
"typescript": "^5.8.3",
"vitest": "^3.2.3"
},
"peerDependencies": {
"typescript": ">=4.0.0"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"roots": [
"<rootDir>/src",
"<rootDir>/tests"
],
"testMatch": [
"**/__tests__/**/*.ts",
"**/?(*.)+(spec|test).ts"
],
"collectCoverageFrom": [
"src/**/*.ts",
"!src/**/*.d.ts",
"!src/cli.ts"
],
"coverageDirectory": "coverage",
"coverageReporters": [
"text",
"lcov",
"html"
]
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"@typescript-eslint/recommended",
"prettier"
],
"plugins": [
"@typescript-eslint",
"prettier"
],
"rules": {
"prettier/prettier": "error",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off"
},
"env": {
"node": true,
"es2020": true
}
},
"prettier": {
"semi": true,
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 100,
"tabWidth": 2,
"useTabs": false
}
}