Skip to content

Commit

Permalink
refactor: use helpertypes library for common helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
wessberg committed May 26, 2021
1 parent 779b679 commit fd215f0
Show file tree
Hide file tree
Showing 15 changed files with 582 additions and 566 deletions.
2 changes: 1 addition & 1 deletion bin/sandhog
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"use strict";

process.title = "sandhog";
require("../dist/cli.js");
require("../dist/cli/index.js");
47 changes: 21 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
"tsc:test": "tsc --module commonjs",
"test": "ava",
"prebuild": "npm run clean",
"build": "pnpm run rollup",
"build": "pnpm run prebuild && pnpm run rollup",
"watch": "pnpm run rollup -- --watch",
"rollup": "rollup -c rollup.config.js",
"preversion": "pnpm run lint && pnpm run build",
"version": "pnpm run generate:all && git add .",
"version": "pnpm run preversion && pnpm run generate:all && git add .",
"release": "np --no-cleanup --no-yarn",
"update:check": "pnpx npm-check-updates --dep dev,prod",
"update:commit": "pnpx npm-check-updates -u --dep dev,prod && pnpm update && pnpm install"
Expand All @@ -43,42 +43,42 @@
"@types/prettier": "^2.2.3",
"chalk": "^4.1.1",
"commander": "^7.2.0",
"eslint": "^7.26.0",
"inquirer": "^8.0.0",
"eslint": "^7.27.0",
"inquirer": "^8.1.0",
"json5": "^2.2.0",
"markdown-toc": "^1.2.0",
"prettier": "^2.3.0",
"yaml": "^1.10.2"
"yaml": "^1.10.2",
"helpertypes": "^0.0.1"
},
"devDependencies": {
"@types/eslint": "^7.2.10",
"@types/eslint": "^7.2.11",
"@types/inquirer": "^7.3.1",
"@typescript-eslint/eslint-plugin": "^4.24.0",
"@typescript-eslint/parser": "^4.24.0",
"@typescript-eslint/eslint-plugin": "^4.25.0",
"@typescript-eslint/parser": "^4.25.0",
"@wessberg/rollup-plugin-ts": "^1.3.14",
"@wessberg/ts-config": "^1.1.0",
"rimraf": "^3.0.2",
"ava": "^3.15.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.2",
"eslint-plugin-jsdoc": "^34.7.0",
"eslint-plugin-import": "^2.23.3",
"eslint-plugin-jsdoc": "^35.0.0",
"husky": "^6.0.0",
"magic-string": "^0.25.7",
"np": "7.5.0",
"pnpm": "^6.3.0",
"pnpm": "^6.4.0",
"pretty-quick": "^3.1.0",
"rollup": "^2.48.0",
"rollup": "^2.50.1",
"standard-changelog": "^2.0.27",
"ts-node": "^9.1.1",
"ts-node": "^10.0.0",
"tslib": "^2.2.0",
"typescript": "^4.2.4"
"typescript": "^4.3.1-rc"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"browser": "./dist/index.js",
"types": "./dist/index.d.ts",
"typings": "./dist/index.d.ts",
"es2015": "./dist/index.js",
"main": "./dist/api/index.js",
"module": "./dist/api/index.js",
"browser": "./dist/api/index.js",
"types": "./dist/api/index.d.ts",
"typings": "./dist/api/index.d.ts",
"es2015": "./dist/api/index.js",
"funding": {
"type": "github",
"url": "https://github.com/wessberg/sandhog?sponsor=1"
Expand All @@ -105,11 +105,6 @@
"node": ">=10.0.0"
},
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"ava": {
"files": [
"test/**/**.test.ts"
Expand Down
Loading

0 comments on commit fd215f0

Please sign in to comment.