forked from Princesseuh/astro-component-tester
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
47 lines (47 loc) · 1.35 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
{
"name": "astro-component-tester",
"description": "Utility to test Astro components",
"version": "0.5.2",
"main": "./dist/cjs/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist"
],
"author": "Princesseuh",
"license": "MIT",
"scripts": {
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --target es5 --outDir dist/cjs && npm run replace-cjs:dirname",
"build": "npm run build:esm && npm run build:cjs",
"replace-cjs:dirname": "replace-in-file ./dist/cjs/** --configFile=./scripts/replace-in-files-dirname.js",
"dev": "tsc --watch",
"format": "prettier -w .",
"lint": "eslint . --ext .ts,.js",
"prepublishOnly": "npm run build"
},
"peerDependencies": {
"astro": ">=1.0.0-beta.0"
},
"devDependencies": {
"@types/eslint": "^8.4.1",
"@types/node": "^17.0.19",
"@types/prettier": "^2.4.4",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"astro": ">=1.0.0-beta.0",
"eslint": "^8.9.0",
"eslint-config-prettier": "^8.4.0",
"eslint-plugin-prettier": "^4.0.0",
"prettier": "^2.5.1",
"replace-in-file": "^6.3.5",
"typescript": "^4.5.5"
}
}