-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
121 lines (121 loc) · 3.46 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "@newstudios/advanced",
"version": "0.1.7",
"description": "an advanced set of common utilities based on @newstudios/common",
"main": "lib/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "jest",
"build:js:cjs": "babel --config-file ./babel.config.js src --no-comments --extensions \".ts,.tsx\" --out-dir lib",
"build:types:cjs": "tsc --emitDeclarationOnly --p tsconfig.cjs.json",
"build:js:esm": "cross-env ESM=true babel --config-file ./babel.config.js src --no-comments --extensions \".ts,.tsx\" --out-dir dist",
"build:types:esm": "tsc --emitDeclarationOnly --p tsconfig.esm.json",
"build:cjs": "concurrently \"npm:build:*:cjs\"",
"build:esm": "concurrently \"npm:build:*:esm\"",
"build": "concurrently \"npm:build:cjs\" \"npm:build:esm\"",
"prepublishOnly": "npm run clean && npm run build",
"clean": "concurrently \"rimraf dist\" \"rimraf lib\"",
"lint": "eslint src/**/* --fix",
"types:check": "tsc --noEmit",
"types:watch": "npm run types:check -- --watch",
"start": "npm run build:js -- --watch",
"dryrun": "npm publish --access public --dry-run"
},
"author": "TangYe <[email protected]>",
"repository": {
"type": "git",
"url": "git+https://github.com/xinpianchang/xpc-advanced"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"keywords": [
"kvo",
"task",
"retry",
"advanced",
"javascript",
"common",
"utils",
"typescript"
],
"homepage": "https://github.com/xinpianchang/xpc-advanced#readme",
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,json,md,yml}": [
"prettier --write"
]
},
"dependencies": {},
"peerDependencies": {
"@newstudios/common": "^0.2.1",
"next-tick": "^1.1.0"
},
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/node": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-decorators": "^7.12.12",
"@babel/plugin-proposal-export-namespace-from": "^7.12.1",
"@babel/plugin-transform-typescript": "^7.12.1",
"@babel/preset-env": "^7.12.11",
"@babel/preset-typescript": "^7.12.7",
"@newstudios/common": "^0.2.1",
"@types/debug": "^4.1.5",
"@types/jest": "^26.0.19",
"@types/next-tick": "^1.0.0",
"@types/node": "^14.14.20",
"@typescript-eslint/eslint-plugin": "^4.13.0",
"@typescript-eslint/parser": "^4.13.0",
"concurrently": "^5.2.0",
"cross-env": "^7.0.3",
"eslint": "^7.17.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-prettier": "^3.3.1",
"husky": "^4.3.8",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
"next-tick": "^1.1.0",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"typescript": "^4.1.3"
},
"engines": {
"node": ">= 10.0.0"
},
"files": [
"dist",
"lib"
],
"exports": {
".": {
"import": "./dist/index.js",
"default": "./lib/index.js"
},
"./kvo": {
"import": "./dist/kvo.js",
"default": "./lib/kvo.js"
},
"./retry": {
"import": "./dist/retry.js",
"default": "./lib/retry.js"
},
"./task": {
"import": "./dist/task.js",
"default": "./lib/task.js"
},
"./utils": {
"import": "./dist/utils.js",
"default": "./lib/utils.js"
}
},
"npmName": "@newstudios/advanced",
"sideEffects": false
}