-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
81 lines (81 loc) · 1.98 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "vite-plugin-imp",
"version": "2.4.0",
"description": "A vite plugin for import style automatic",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"scripts": {
"dev": "tsc -w -p .",
"build": "rm -rf dist && tsc -p .",
"prepublishOnly": "yarn unbuild",
"genlog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"test": "jest ./src",
"patch-cjs": "ts-node scripts/patchCJS.ts --module=CommonJS",
"unbuild": "unbuild && yarn patch-cjs"
},
"keywords": [
"vite plugin imp"
],
"author": "psaren",
"license": "MIT",
"peerDependencies": {
"vite": ">= 2.0.0-beta.5"
},
"files": [
"dist",
"CHANGELOG.md",
"README.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/onebay/vite-plugin-imp.git"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@types/babel__core": "^7.1.12",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.17",
"conventional-changelog-cli": "^2.1.1",
"husky": "^4.3.8",
"jest": "^26.6.3",
"ts-jest": "^26.5.0",
"ts-node": "^10.8.1",
"typescript": "^4.1.3",
"unbuild": "^0.7.4",
"vite": "2.9.13"
},
"dependencies": {
"@babel/core": "^7.12.10",
"@babel/generator": "^7.12.11",
"@babel/parser": "^7.12.11",
"@babel/traverse": "^7.12.12",
"chalk": "^4.1.0",
"param-case": "^3.0.4",
"pascal-case": "^3.1.2"
},
"husky": {
"hooks": {
"pre-commit": "tsc --noEmit && npm test",
"commit-msg": "commitlint -e $GIT_PARAMS"
}
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"transform": {
"node_modules/variables/.+\\.(j|t)sx?$": "ts-jest"
},
"transformIgnorePatterns": [
"node_modules/(?!variables/.*)"
]
}
}