Skip to content

Commit e8154cf

Browse files
committed
chore: change test-all to test:all to be consistent
1 parent ddc039b commit e8154cf

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

.github/workflows/nodejs-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
run: npm ci
4848

4949
- name: Run All Tests
50-
run: npm run test-all
50+
run: npm run test:all
5151

5252
publish-dry-run:
5353
name: Publish Dry Run

package.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@
44
"description": "Node module to provide descriptions and reference to CNC G-Codes",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
7+
"exports": {
8+
".": "./dist/index.js"
9+
},
710
"files": [
8-
"dist/"
11+
"dist"
912
],
1013
"repository": {
1114
"type": "git",
@@ -24,7 +27,10 @@
2427
"turning",
2528
"appliedengdesign"
2629
],
27-
"author": "Mike Centola",
30+
"author": {
31+
"name": "Mike Centola",
32+
"url": "https://github.com/mikecentola"
33+
},
2834
"license": "MIT",
2935
"bugs": {
3036
"url": "https://github.com/appliedengdesign/gcode-reference/issues"
@@ -38,7 +44,7 @@
3844
"url": "https://github.com/sponsors/appliedengdesign"
3945
},
4046
"scripts": {
41-
"build": "npm run test-all && tsc --project tsconfig.build.json",
47+
"build": "npm run test:all && tsc --project tsconfig.build.json",
4248
"clean": "shx rm -rf dist/*",
4349
"compile": "tsc --project tsconfig.build.json",
4450
"copyJSON": "npx ts-node ./scripts/copyJSON.ts",
@@ -49,9 +55,9 @@
4955
"pretty": "prettier --config .prettierrc --check .",
5056
"pretty:fix": "prettier --config .prettierrc --write .",
5157
"refresh": "shx rm-rf ./node_modules ./package-lock.json && npm install",
52-
"test-all": "mocha --require ts-node/register test/**/*.ts",
53-
"test-gref": "mocha --require ts-node/register test/gReference.test.ts",
54-
"test-validate-json": "mocha --require ts-node/register test/validateJSON.test.ts"
58+
"test:all": "mocha --require ts-node/register test/**/*.ts",
59+
"test:gref": "mocha --require ts-node/register test/gReference.test.ts",
60+
"test:json": "mocha --require ts-node/register test/validateJSON.test.ts"
5561
},
5662
"devDependencies": {
5763
"@appliedengdesign/cnccodes-json-schema": "^0.3.0",

0 commit comments

Comments
 (0)