comment-to-assert
Version:
convert line comment to assert.
85 lines (84 loc) • 1.92 kB
JSON
{
"name": "comment-to-assert",
"version": "6.0.0",
"description": "convert line comment to assert.",
"keywords": [
"ast",
"doctest",
"testing"
],
"homepage": "https://github.com/azu/comment-to-assert",
"bugs": {
"url": "https://github.com/azu/comment-to-assert/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/azu/comment-to-assert.git"
},
"license": "MIT",
"type": "module",
"author": "azu",
"files": [
"lib",
"src",
"bin"
],
"main": "lib/comment-to-assert.js",
"types": "lib/comment-to-assert.d.ts",
"exports": {
".": {
"import": "./lib/comment-to-assert.js",
"types": "./lib/comment-to-assert.d.ts"
}
},
"bin": {
"comment-to-assert": "./bin/cmd.js"
},
"directories": {
"test": "test"
},
"scripts": {
"build": "tsc -p .",
"example": "npm i && npm run build && cd example && npm test",
"prepublish": "npm run --if-present build",
"test": "mocha \"test/**/*.ts\"",
"updateSnapshot": "UPDATE_SNAPSHOT=1 npm test",
"watch": "tsc -p . --watch"
},
"dependencies": {
"@babel/core": "^7.28.0",
"@babel/parser": "^7.28.0",
"@babel/template": "^7.27.2",
"@babel/traverse": "^7.28.0",
"@babel/types": "^7.28.0",
"concat-stream": "^2.0.0",
"structured-source": "^4.0.0"
},
"devDependencies": {
"@types/babel__core": "^7.1.18",
"@types/babel__generator": "^7.27.0",
"@types/babel__template": "^7.4.1",
"@types/babel__traverse": "^7.20.7",
"@types/mocha": "^10.0.1",
"@types/node": "^24.0.10",
"husky": "^9.1.7",
"lint-staged": "^16.1.2",
"mocha": "^11.7.1",
"ts-node": "^10.4.0",
"ts-node-test-register": "^10.0.0",
"typescript": "^5.8.3"
},
"email": "azuciao@gmail.com",
"lint-staged": {
"*.{ts,tsx,css}": [
"biome check --write"
]
},
"husky": {
"hooks": {
"post-commit": "git reset",
"pre-commit": "lint-staged"
}
},
"gitHead": "2e58ae93c827ef9bf5cd9da37be06ce6f39f4d78"
}