-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
105 lines (105 loc) · 2.37 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "rollup-plugin-san",
"version": "2.0.1",
"description": "A rollup plugin supports `.san` file.",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"postinstall": "yarn --cwd examples",
"clean": "rm -rf dist/",
"dev": "npm run clean && tsc -w",
"build": "npm run lint && npm run clean && tsc",
"lint": "prettier --write \"{src,test}/**/*.{ts,js}\"",
"prepublishOnly": "npm run test && npm run build",
"test": "run-p test:*",
"test:unit": "jest test/unit",
"test:e2e": "jest test/e2e --no-cache"
},
"author": "Baidu.Inc",
"maintainers": [
],
"repository": {
"type": "git",
"url": "git+https://github.com/wanwu/rollup-plugin-san.git"
},
"bugs": {
"url": "https://github.com/wanwu/rollup-plugin-san/issues"
},
"homepage": "https://github.com/wanwu/rollup-plugin-san#readme",
"keywords": [
"san",
"sfc",
"rollup"
],
"license": "MIT",
"dependencies": {
"hash-sum": "^2.0.0",
"qs": "^6.10.1",
"rollup": "^2.59.0",
"rollup-pluginutils": "^2.8.2",
"san": "^3.10.10",
"san-sfc-compiler": "^0.1.5"
},
"devDependencies": {
"@babel/core": "^7.15.5",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.15.6",
"@types/hash-sum": "^1.0.0",
"@types/jest": "^27.0.2",
"@types/node": "^16.9.6",
"@types/qs": "^6.9.7",
"husky": "^7.0.2",
"jest": "^27.2.1",
"lint-staged": "^11.1.2",
"npm-run-all": "^4.1.5",
"postcss": "^8.3.7",
"prettier": "^2.4.1",
"ts-jest": "^27.0.7",
"typescript": "^4.4.4"
},
"resolutions": {
"nth-check": "^2.0.1",
"serialize-javascript": "^3.1.0"
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5"
},
"jest": {
"testTimeout": 20000,
"testEnvironment": "node",
"moduleFileExtensions": [
"js",
"ts",
"san"
],
"transform": {
"^.+\\.(ts|js)$": "<rootDir>/node_modules/ts-jest"
},
"globals": {
"ts-jest": {
"packageJson": "<rootDir>/package.json"
},
"__DEV__": false
}
},
"babel": {
"presets": [
"@babel/env"
],
"plugins": [
"@babel/plugin-transform-runtime"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js}": [
"npm run lint"
]
}
}