-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 1.85 KB
/
package.json
File metadata and controls
79 lines (79 loc) · 1.85 KB
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
{
"name": "parse-es-import",
"version": "0.3.3",
"description": "Parse the ESM dependencies of code snippets based on acorn",
"keywords": [
"esmodule",
"import",
"dependency",
"browser"
],
"main": "lib/index.js",
"module": "es/index.js",
"exports": {
"import": "./es/index.js",
"require": "./lib/index.js"
},
"scripts": {
"dev": "tsc -w --outDir lib --module CommonJS",
"build": "tsc && tsc --outDir lib --module CommonJS",
"test": "jest",
"format": "prettier --config .prettierrc --write \"src/**/*.{js,ts}\"",
"prepublishOnly": "yarn build"
},
"dependencies": {
"acorn": "^8.9.0",
"acorn-jsx": "^5.3.2"
},
"devDependencies": {
"@babel/preset-env": "^7.14.7",
"@types/node": "^15.6.0",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"babel-jest": "^27.0.6",
"eslint": "^6.0.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-typescript": "^0.14.0",
"jest": "^27.0.6",
"lint-staged": "^10.2.4",
"prettier": "^2.0.5",
"typescript": "^4.0.0"
},
"files": [
"es",
"lib"
],
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"npm run eslint",
"git add"
],
"*.{css, less}": [
"npm run stylelint",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"testPathIgnorePatterns": [
"/node_modules/",
"/fixtures/"
]
},
"repository": {
"type": "git",
"url": "https://github.com/MisterLuffy/parse-es-import.git"
},
"author": "zhihengzuo@gmail.com",
"license": "MIT"
}