textlint-plugin-html
Advanced tools
Comparing version
{ | ||
"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 [](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 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
30084
16.28%23
53.33%503
38.57%0
-100%79
19.7%Yes
NaN5
66.67%14
40%1
Infinity%1
Infinity%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated