Skip to content

Commit ddf2b8e

Browse files
committed
added html validation
1 parent ba58c88 commit ddf2b8e

File tree

13 files changed

+3234
-163
lines changed

13 files changed

+3234
-163
lines changed

.vscode/launch.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "node",
9+
"request": "launch",
10+
"name": "Launch Program",
11+
"program": "${workspaceFolder}/test.js",
12+
"preLaunchTask": "tsc: build - tsconfig.json",
13+
"outFiles": [
14+
"${workspaceFolder}/dist/**/*.js"
15+
]
16+
}
17+
]
18+
}

gulpfile.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

package.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@
66
"types": "dist/index.d.ts",
77
"scripts": {
88
"test": "mocha",
9-
"build": "gulp",
10-
"pretest": "gulp",
11-
"prepare": "gulp"
9+
"clean": "del-cli ./dist/",
10+
"ts:cjs": "tsc -m commonjs",
11+
"ts:umd": "tsc -t es5 -m umd --outDir ./dist/umd/",
12+
"build": "npm run clean && npm run ts:cjs && npm run ts:umd",
13+
"dev": "tsc -w"
1214
},
1315
"keywords": [
1416
"fast html parser nodejs typescript"
@@ -26,10 +28,7 @@
2628
"@types/he": "latest",
2729
"@types/node": "latest",
2830
"blanket": "latest",
29-
"del": "latest",
30-
"gulp": "latest",
31-
"gulp-sequence": "latest",
32-
"gulp-shell": "latest",
31+
"del-cli": "latest",
3332
"mocha": "latest",
3433
"should": "latest",
3534
"spec": "latest",
@@ -58,4 +57,4 @@
5857
"url": "https://github.com/taoqf/node-fast-html-parser/issues"
5958
},
6059
"homepage": "https://github.com/taoqf/node-fast-html-parser"
61-
}
60+
}

0 commit comments

Comments
 (0)