We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6426475 commit 5151bb0Copy full SHA for 5151bb0
package.json
@@ -13,7 +13,7 @@
13
},
14
"private": true,
15
"license": "MIT",
16
- "main": "dist/htmldiff.ts",
+ "main": "dist/htmldiff.js",
17
"files": [
18
"dist/htmldiff.d.ts",
19
"dist/htmldiff.js",
@@ -33,8 +33,11 @@
33
"mocha": "~8.3.0"
34
35
"scripts": {
36
+ "build": "tsc -p tsconfig.json",
37
+ "dist": "npm run lint:ci && npm run make && npm run test:ci",
38
"lint": "eslint --config='.eslintrc.cjs' './src/*.ts' --fix",
- "test": "npm run make && mocha -R min",
- "make": "tsc -p tsconfig.json"
39
+ "lint:ci": "npm run lint -- --max-warnings 0",
40
+ "test": "npm run build && mocha -R min",
41
+ "test:ci": "mocha -R min"
42
}
43
0 commit comments