This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.56 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": "@matteosacchetto/typescript-rollup-lib-template",
"version": "0.3.2",
"description": "Template for creating a JS library using Typescript and Rollup for bundling it to CJS and ESM modules",
"main": "dist/cjs/index.cjs",
"module": "dist/esm/index.mjs",
"types": "dist/index.d.ts",
"exports": {
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.cjs",
"types": "./dist/index.d.ts"
},
"sideEffects": false,
"scripts": {
"lint": "npx tsc --noemit && npx eslint src test",
"prebuild": "rm -rf dist",
"build": "npx tsc --noEmit && npx rollup -c",
"pretest": "npm run lint",
"test": "node --no-warnings --experimental-vm-modules node_modules/jest/bin/jest.js",
"prepack": "npm run build"
},
"author": "Matteo Sacchetto",
"license": "MIT",
"devDependencies": {
"@rollup/plugin-eslint": "^9.0.3",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-typescript": "^11.0.0",
"@types/jest": "^29.4.0",
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"@typescript-eslint/parser": "^5.50.0",
"esbuild": "^0.17.5",
"eslint": "^8.33.0",
"eslint-config-prettier": "^8.6.0",
"jest": "^29.4.1",
"prettier": "^2.8.3",
"rollup": "^3.12.1",
"rollup-plugin-dts": "^5.1.1",
"rollup-plugin-esbuild": "^5.0.0",
"rollup-plugin-node-externals": "^5.1.0",
"rollup-plugin-typescript-paths": "^1.4.0",
"ts-jest": "^29.0.5",
"tslib": "^2.5.0",
"typescript": "^4.9.5"
},
"engines": {
"node": ">=16.15",
"npm": ">=8.5.5"
}
}