commit
638a4a286f
4 changed files with 10 additions and 10 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -29,7 +29,6 @@ bower_components/
|
|||
# Terraform
|
||||
/terraform/.terraform
|
||||
|
||||
/_target/
|
||||
/src/diff2html-templates.*
|
||||
/docs/
|
||||
/bundles/
|
||||
|
|
|
|||
|
|
@ -41,9 +41,9 @@
|
|||
"prettier": "prettier --ignore-path .gitignore '**/*.+(js|jsx|ts|tsx|json|css|html|md|mdx)'",
|
||||
"format:check": "yarn run prettier --check",
|
||||
"format:fix": "yarn run prettier --write",
|
||||
"build": "yarn run build:css && yarn run build:templates && yarn run build:es5 && yarn run build:esm && yarn run build:bundles && yarn run build:website",
|
||||
"build:es5": "rm -rf lib; tsc -p tsconfig.json --outDir lib",
|
||||
"build:esm": "rm -rf lib-esm; tsc -p tsconfig.json -m es6 --outDir lib-esm",
|
||||
"build": "yarn run build:css && yarn run build:templates && yarn run build:commonjs && yarn run build:esm && yarn run build:bundles && yarn run build:website",
|
||||
"build:commonjs": "rm -rf lib; tsc -p tsconfig.json --outDir lib",
|
||||
"build:esm": "rm -rf lib-esm; tsc -p tsconfig.json -m ESNext --outDir lib-esm",
|
||||
"build:bundles": "rm -rf ./bundles/js; webpack --mode production --config webpack.bundles.ts",
|
||||
"build:css": "rm -rf ./bundles/css; postcss --config ./postcss.config.js --no-map -o ./bundles/css/diff2html.min.css ./src/ui/css/diff2html.css",
|
||||
"build:templates": "ts-node ./scripts/hulk.ts --wrapper ts --variable 'defaultTemplates' ./src/templates/*.mustache > ./src/diff2html-templates.ts",
|
||||
|
|
@ -150,7 +150,8 @@
|
|||
"trim-newlines": ">=3.0.1",
|
||||
"async": ">=2.6.4",
|
||||
"terser": ">=5.14.2",
|
||||
"semver-regex": ">=4.0.5"
|
||||
"semver-regex": ">=4.0.5",
|
||||
"http-cache-semantics": ">=4.1.1"
|
||||
},
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"include": ["*env.d.ts", "src/**/*", "./typings/**/*"],
|
||||
"exclude": ["node_modules", "src/__tests__/**"],
|
||||
"compilerOptions": {
|
||||
"outDir": "_target",
|
||||
"outDir": "lib",
|
||||
"module": "CommonJS",
|
||||
"moduleResolution": "Node",
|
||||
"target": "ES6",
|
||||
|
|
|
|||
|
|
@ -3923,10 +3923,10 @@ htmlparser2@^6.1.0:
|
|||
domutils "^2.5.2"
|
||||
entities "^2.0.0"
|
||||
|
||||
http-cache-semantics@3.8.1:
|
||||
version "3.8.1"
|
||||
resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz#39b0e16add9b605bf0a9ef3d9daaf4843b4cacd2"
|
||||
integrity sha512-5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w==
|
||||
http-cache-semantics@3.8.1, http-cache-semantics@>=4.1.1:
|
||||
version "4.1.1"
|
||||
resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz#abe02fcb2985460bf0323be664436ec3476a6d5a"
|
||||
integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==
|
||||
|
||||
human-signals@^1.1.1:
|
||||
version "1.1.1"
|
||||
|
|
|
|||
Loading…
Reference in a new issue