/
package.json
50 lines (50 loc) · 1.5 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"name": "credit-roles",
"version": "2.1.0",
"description": "Enumeration and normalization of CRT Contributor Roles (https://credit.niso.org/)",
"keywords": [
"CREDIT",
"Open Science"
],
"author": "Rowan Cockett <rowan@curvenote.com>",
"license": "MIT",
"sideEffects": false,
"type": "module",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"homepage": "https://github.com/curvenote/credit-roles",
"repository": {
"type": "git",
"url": "git+https://github.com/curvenote/credit-roles.git"
},
"bugs": {
"url": "https://github.com/curvenote/credit-roles/issues"
},
"scripts": {
"prepublishOnly": "npm run build && npm run test",
"clean": "rm -rf dist",
"unlink": "npm uninstall -g orcid;",
"link": "npm run unlink; npm link;",
"dev": "npm run link && esbuild src/cli/index.ts --bundle --outfile=dist/orcid.cjs --platform=node --watch",
"lint": "eslint \"src/**/*.ts*\" -c ./.eslintrc.cjs",
"lint:format": "prettier --check \"src/**/*.{ts,tsx,md}\"",
"test": "vitest run",
"test:watch": "vitest watch",
"build:esm": "tsc --project ./tsconfig.json --module es2015 --outDir dist --declaration",
"build": "npm-run-all -l clean -p build:esm"
},
"devDependencies": {
"eslint": "^8.46.0",
"eslint-config-curvenote": "latest",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.1",
"typescript": "^5.1.6",
"vitest": "^0.34.1"
}
}