chore: replace gulp by a pure rollup based build
This commit is contained in:
parent
294fbefd0a
commit
0d6b89a3ed
16 changed files with 1772 additions and 2573 deletions
32
package.json
32
package.json
|
@ -36,26 +36,31 @@
|
|||
"name": "Sascha Martens"
|
||||
}
|
||||
],
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "gulp build",
|
||||
"build:watch": "gulp watch",
|
||||
"link-project": "gulp link",
|
||||
"clean": "gulp clean",
|
||||
"clean:link": "gulp link --clean",
|
||||
"bump-version": "gulp bumpVersion",
|
||||
"lint": "eslint --ext .ts,.js .",
|
||||
"lint:fix": "eslint --ext .ts,.js --fix .",
|
||||
"build": "run-s clean:files build:files",
|
||||
"build:files": "rollup -c",
|
||||
"watch": "rollup -c -w",
|
||||
"link-package": "node ./tools/link-package.js",
|
||||
"clean": "run-p clean:files clean:link",
|
||||
"clean:files": "rimraf dist",
|
||||
"clean:link": "node ./tools/link-package.js --clean",
|
||||
"lint": "eslint --ext .ts,.js,.cjs,.mjs .",
|
||||
"lint:fix": "eslint --ext .ts,.js,.cjs,.mjs --fix .",
|
||||
"test": "jest",
|
||||
"test:watch": "jest --watch",
|
||||
"test:ci": "jest --ci --reporters=default --reporters=jest-junit",
|
||||
"format": "prettier --write \"./**/*.(ts|js|json|scss|yml)\"",
|
||||
"format": "prettier --write \"./**/*.(ts|js|cjs|mjs|json|scss|yml)\"",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"bump-version": "node ./tools/bump-version.js",
|
||||
"convert-packs-to-json": "node ./tools/convert-packs-to-json.js",
|
||||
"postinstall": "husky install",
|
||||
"changelog": "conventional-changelog -n changelog.config.js -o CHANGELOG.md -r 2"
|
||||
"changelog": "conventional-changelog -p conventionalcommits -o CHANGELOG.md -r 2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "15.0.0",
|
||||
"@commitlint/config-conventional": "15.0.0",
|
||||
"@guanghechen/rollup-plugin-copy": "1.8.4",
|
||||
"@league-of-foundry-developers/foundry-vtt-types": "0.8.9-7",
|
||||
"@seald-io/nedb": "2.2.0",
|
||||
"@types/fs-extra": "9.0.13",
|
||||
|
@ -69,15 +74,16 @@
|
|||
"eslint-plugin-jest": "25.3.0",
|
||||
"eslint-plugin-prettier": "4.0.0",
|
||||
"fs-extra": "10.0.0",
|
||||
"gulp": "4.0.2",
|
||||
"gulp-sass": "5.0.0",
|
||||
"husky": "7.0.4",
|
||||
"jest": "27.4.2",
|
||||
"jest-junit": "13.0.0",
|
||||
"lint-staged": "12.1.2",
|
||||
"npm-run-all": "4.1.5",
|
||||
"prettier": "2.5.0",
|
||||
"rimraf": "3.0.2",
|
||||
"rollup": "2.60.2",
|
||||
"rollup-plugin-sourcemaps": "0.6.3",
|
||||
"rollup-plugin-styles": "3.14.1",
|
||||
"rollup-plugin-terser": "7.0.2",
|
||||
"rollup-plugin-typescript2": "0.31.1",
|
||||
"sass": "1.44.0",
|
||||
|
@ -88,7 +94,7 @@
|
|||
"yargs": "17.2.1"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.ts": "eslint --cache --fix",
|
||||
"*.(ts|js|cjs|mjs)": "eslint --cache --fix",
|
||||
"*.(json|scss|yml)": "prettier --write"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue