-
Notifications
You must be signed in to change notification settings - Fork 265
/
package.json
60 lines (60 loc) · 1.48 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
{
"name": "ms",
"version": "3.0.0-canary.1",
"description": "Tiny millisecond conversion utility",
"repository": "vercel/ms",
"main": "./dist/index.cjs",
"type": "module",
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"sideEffects": false,
"license": "MIT",
"engines": {
"node": ">=12.13"
},
"files": [
"dist"
],
"scripts": {
"test": "npm run test-nodejs && npm run test-edge",
"test-nodejs": "jest --env node",
"test-edge": "jest --env @edge-runtime/jest-environment",
"build": "scripts/build.js",
"prepublishOnly": "npm run build",
"eslint-check": "eslint --max-warnings=0 .",
"prettier-check": "prettier --check .",
"type-check": "tsc --noEmit",
"precommit": "lint-staged",
"prepare": "husky install"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node"
},
"prettier": "@vercel/style-guide/prettier",
"lint-staged": {
"*": [
"prettier --ignore-unknown --write"
],
"*.{js,jsx,ts,tsx}": [
"eslint --max-warnings=0 --fix"
]
},
"devDependencies": {
"@edge-runtime/jest-environment": "1.1.0-beta.6",
"@types/jest": "27.0.1",
"@vercel/style-guide": "3.0.0",
"eslint": "8.12.0",
"husky": "7.0.2",
"jest": "27.1.1",
"lint-staged": "11.1.2",
"prettier": "2.6.2",
"ts-jest": "27.0.5",
"typescript": "4.6.3"
}
}