New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

textlint-plugin-html

Package Overview
Dependencies
Maintainers
6
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

textlint-plugin-html - npm Package Compare versions

Comparing version

to
1.0.0

module/html-to-ast.d.ts

94

package.json
{
"name": "textlint-plugin-html",
"version": "1.0.0",
"description": "textlint HTML plugin.",
"keywords": [
"textlint",
"plugin",
"html",
"lint"
],
"homepage": "https://github.com/textlint/textlint-plugin-html",
"bugs": {
"url": "https://github.com/textlint/textlint-plugin-html/issues"
},
"repository": {

@@ -7,48 +19,58 @@ "type": "git",

},
"license": "MIT",
"author": "azu",
"email": "azuciao@gmail.com",
"homepage": "https://github.com/textlint/textlint-plugin-html",
"license": "MIT",
"bugs": {
"url": "https://github.com/textlint/textlint-plugin-html/issues"
"type": "module",
"exports": {
".": {
"import": {
"types": "./module/index.d.ts",
"default": "./module/index.js"
},
"default": "./module/index.js"
},
"./package.json": "./package.json"
},
"version": "0.3.0",
"description": "textlint HTML processsor plugin.",
"main": "lib/index.js",
"files": [
"lib",
"src"
],
"main": "./module/index.js",
"types": "./module/index.d.ts",
"directories": {
"test": "test"
},
"files": [
"module/",
"src/"
],
"scripts": {
"build": "NODE_ENV=production babel src --out-dir lib --source-maps",
"watch": "babel src --out-dir lib --watch --source-maps",
"build": "tsc --build",
"clean": "tsc --build --clean",
"prepublishOnly": "npm run clean && npm run build",
"prepublish": "npm run --if-present build",
"test": "mocha"
"test": "mocha",
"updateSnapshot": "UPDATE_SNAPSHOT=1 npm test",
"watch": "tsc --build --watch"
},
"keywords": [
"textlint",
"plugin",
"html",
"lint"
],
"dependencies": {
"@textlint/ast-node-types": "^13.0.5",
"rehype-parse": "^8.0.4",
"structured-source": "^4.0.0",
"traverse": "^0.6.7",
"unified": "^10.1.2"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/register": "^7.0.0",
"@textlint/ast-tester": "^12.1.0",
"@textlint/module-interop": "^12.1.0",
"glob": "^7.1.1",
"mocha": "^9.1.3",
"textlint": "^12.1.0",
"textlint-rule-no-todo": "^2.0.0"
"@textlint/ast-tester": "^13.0.5",
"@textlint/kernel": "^13.0.5",
"@textlint/module-interop": "^13.0.5",
"@textlint/types": "^13.0.5",
"@types/glob": "^8.0.1",
"@types/mocha": "^10.0.1",
"@types/node": "^18.11.18",
"@types/traverse": "^0.6.32",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"textlint": "^13.0.5",
"textlint-rule-no-todo": "^2.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
},
"dependencies": {
"hast": "0.0.2",
"structured-source": "^3.0.2",
"traverse": "^0.6.6"
}
"packageManager": "yarn@1.22.19",
"email": "azuciao@gmail.com"
}

@@ -5,5 +5,4 @@ # textlint-plugin-html [![Actions Status: test](https://github.com/textlint/textlint-plugin-html/workflows/test/badge.svg)](https://github.com/textlint/textlint-plugin-html/actions?query=workflow%3A"test")

What is textlint plugin? Please see https://github.com/textlint/textlint/blob/master/docs/plugin.md
What is textlint plugin? Please see <https://github.com/textlint/textlint/blob/master/docs/plugin.md>
## Installation

@@ -13,2 +12,6 @@

Requirements:
- textlint v13+
## Default supported extensions

@@ -57,2 +60,12 @@

## Development
If you update snapshot, please run `npm run updateSnapshot`.
### Add new test case
1. add new fixture file to `test/ast-test-case/<test-case-name>/index.html`
2. npm run updateSnapshot
3. check outputs
## Contributing

@@ -59,0 +72,0 @@