-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
43 lines (43 loc) · 1.4 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
{
"name": "@vanillaes/mock-console",
"version": "3.0.0",
"license": "MIT",
"author": "Evan Plaice <[email protected]> (https://evanplaice.com/)",
"description": "Mock the 'console' (ie log, info, error) for testing",
"keywords": [
"esm",
"esmodules",
"console",
"testing",
"mock"
],
"repository": "https://github.com/vanillaes/mock-console",
"type": "module",
"exports": {
"import": "./index.js",
"browser": "./index.min.js"
},
"types": "index.d.ts",
"scripts": {
"test": "tape-es",
"test:watch": "tape-watch-es",
"lint": "esmtk lint",
"types": "npx -p typescript tsc index.js -t esnext --allowJS --checkJS --skipLibCheck --noEmit",
"build": "npm run build:min && npm run build:typings",
"build:min": "esmtk minify index.js index.min.js",
"build:typings": "npx -p typescript tsc index.js -t esnext --allowJS --checkJS --skipLibCheck --declaration --emitDeclarationOnly --noEmitOnError",
"clean": "npm run clean:builds && npm run clean:typings",
"clean:builds": "npx rimraf index.min.js",
"clean:typings": "npx rimraf *.d.ts",
"package": "npx rimraf package && npm pack | tail -n 1 | xargs tar -xf",
"preversion": "npm test && npm run lint && npm run types",
"postversion": "git push --follow-tags"
},
"devDependencies": {
"esmtk": "^0.5.13",
"tape-es": "^1.2.16"
},
"engines": {
"node": ">=14"
}
}