-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 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
61
62
{
"name": "identity-log",
"version": "0.3.0",
"description": "A 400 bytes console.{log,info,warn,...} that return its last argument",
"keywords": [
"console.log",
"log",
"tap",
"identity",
"return"
],
"author": "Swizz",
"license": "MIT",
"repository": "[email protected]/Swizz/identity-log.git",
"browser": "dist/identity-log.min.js",
"main": "dist/identity-log.common.js",
"module": "dist/identity-log.es.js",
"jsnext:main": "dist/identity-log.es.js",
"devDependencies": {
"@types/jest": "^20.0.5",
"bili": "^0.17.4",
"bundlesize": "^0.13.2",
"jest": "^20.0.4",
"nanobench": "^2.1.0",
"prettier": "^1.5.3",
"rollup-plugin-typescript": "^0.8.1",
"ts-jest": "^20.0.7",
"typescript": "^2.4.2"
},
"scripts": {
"test": "jest --coverage",
"size": "bundlesize",
"bench": "nanobench */*.bench.js",
"format": "prettier --semi false --single-quote --write 'src/**/*.ts' 'test/**/*.ts' 'bench/**/*.js'",
"build": "bili"
},
"jest": {
"transform": {
".ts": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testMatch": [
"**/__tests__/**/*.(ts|js)",
"**/?(*.)(spec|test).(ts|js)"
],
"moduleFileExtensions": [
"ts",
"js"
]
},
"bundlesize": [
{
"path": "./dist/identity-log.min.js",
"maxSize": "400b"
}
],
"bili": {
"entry": "src/index.ts",
"js": "typescript",
"format": ["cjs", "umd", "es"],
"compress": "umd"
}
}