|
4 | 4 | "description": "Node module to provide descriptions and reference to CNC G-Codes", |
5 | 5 | "main": "dist/index.js", |
6 | 6 | "types": "dist/index.d.ts", |
| 7 | + "exports": { |
| 8 | + ".": "./dist/index.js" |
| 9 | + }, |
7 | 10 | "files": [ |
8 | | - "dist/" |
| 11 | + "dist" |
9 | 12 | ], |
10 | 13 | "repository": { |
11 | 14 | "type": "git", |
|
24 | 27 | "turning", |
25 | 28 | "appliedengdesign" |
26 | 29 | ], |
27 | | - "author": "Mike Centola", |
| 30 | + "author": { |
| 31 | + "name": "Mike Centola", |
| 32 | + "url": "https://github.com/mikecentola" |
| 33 | + }, |
28 | 34 | "license": "MIT", |
29 | 35 | "bugs": { |
30 | 36 | "url": "https://github.com/appliedengdesign/gcode-reference/issues" |
|
38 | 44 | "url": "https://github.com/sponsors/appliedengdesign" |
39 | 45 | }, |
40 | 46 | "scripts": { |
41 | | - "build": "npm run test-all && tsc --project tsconfig.build.json", |
| 47 | + "build": "npm run test:all && tsc --project tsconfig.build.json", |
42 | 48 | "clean": "shx rm -rf dist/*", |
43 | 49 | "compile": "tsc --project tsconfig.build.json", |
44 | 50 | "copyJSON": "npx ts-node ./scripts/copyJSON.ts", |
|
49 | 55 | "pretty": "prettier --config .prettierrc --check .", |
50 | 56 | "pretty:fix": "prettier --config .prettierrc --write .", |
51 | 57 | "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" |
55 | 61 | }, |
56 | 62 | "devDependencies": { |
57 | 63 | "@appliedengdesign/cnccodes-json-schema": "^0.3.0", |
|
0 commit comments