Skip to content

Commit

Permalink
Remove obsolete "main" field from package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Jan 25, 2024
1 parent 6dfc4f5 commit 8a83cae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
6 changes: 3 additions & 3 deletions README.md
@@ -1,7 +1,7 @@
# run-scripts-util
<img src=https://centerkey.com/graphics/center-key-logo.svg align=right width=200 alt=logo>

_Organize npm scripts into named groups of easy to manage commands (CLI tool designed for use in npm scripts)_
_Organize npm package.json scripts into named groups of easy to manage commands (CLI tool designed for use in npm package.json scripts)_

[![License:MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/center-key/run-scripts-util/blob/main/LICENSE.txt)
[![npm](https://img.shields.io/npm/v/run-scripts-util.svg)](https://www.npmjs.com/package/run-scripts-util)
Expand Down Expand Up @@ -52,7 +52,7 @@ $ npm install --save-dev run-scripts-util
```

## B) Usage
### 1. npm scripts
### 1. npm package.json scripts
Use `run-scripts` in the `"scripts"` section of your **package.json** file and add a
parameter naming the key in `runScriptsConfig` holding the group (array) of commands to
execute.
Expand Down Expand Up @@ -140,7 +140,7 @@ See the **TypeScript Declarations** at the top of [run-scripts.ts](run-scripts.t
- 馃 [recursive-exec](https://github.com/center-key/recursive-exec):&nbsp; _Run a command on each file in a folder and its subfolders_
- 馃攳 [replacer-util](https://github.com/center-key/replacer-util):&nbsp; _Find and replace strings or template outputs in text files_
- 馃敘 [rev-web-assets](https://github.com/center-key/rev-web-assets):&nbsp; _Revision web asset filenames with cache busting content hash fingerprints_
- 馃殕 [run-scripts-util](https://github.com/center-key/run-scripts-util):&nbsp; _Organize npm scripts into named groups of easy to manage commands_
- 馃殕 [run-scripts-util](https://github.com/center-key/run-scripts-util):&nbsp; _Organize npm package.json scripts into named groups of easy to manage commands_
- 馃殾 [w3c-html-validator](https://github.com/center-key/w3c-html-validator):&nbsp; _Check the markup validity of HTML files using the W3C validator_

Feel free to submit questions at:<br>
Expand Down
16 changes: 5 additions & 11 deletions package.json
@@ -1,21 +1,15 @@
{
"name": "run-scripts-util",
"version": "1.2.4",
"description": "Organize npm scripts into named groups of easy to manage commands (CLI tool designed for use in npm scripts)",
"description": "Organize npm package.json scripts into named groups of easy to manage commands (CLI tool designed for use in npm package.json scripts)",
"license": "MIT",
"type": "module",
"module": "dist/run-scripts.js",
"main": "dist/run-scripts.js",
"types": "dist/run-scripts.d.ts",
"exports": "./dist/run-scripts.js",
"files": [
"dist"
],
"exports": {
".": {
"import": "./dist/run-scripts.js"
},
"./": "./dist/"
},
"bin": {
"run-scripts": "bin/cli.js",
"run-scripts-util": "bin/cli.js"
Expand Down Expand Up @@ -117,9 +111,9 @@
},
"devDependencies": {
"@types/fancy-log": "~2.0",
"@types/node": "~20.10",
"@typescript-eslint/eslint-plugin": "~6.17",
"@typescript-eslint/parser": "~6.17",
"@types/node": "~20.11",
"@typescript-eslint/eslint-plugin": "~6.19",
"@typescript-eslint/parser": "~6.19",
"add-dist-header": "~1.3",
"assert-deep-strict-equal": "~1.1",
"copy-file-util": "~1.1",
Expand Down

0 comments on commit 8a83cae

Please sign in to comment.