-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
65 lines (65 loc) · 2.17 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
{
"name": "@newstudios/common",
"version": "0.2.2",
"description": "a common lifecycle and event utils for js",
"main": "lib/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build:js:cjs": "babel --config-file ./babel.cjs.json src --no-comments --extensions \".ts,.tsx\" --out-dir lib",
"build:types:cjs": "tsc --emitDeclarationOnly",
"build:js:esm": "babel --config-file ./babel.esm.json 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"
},
"repository": {
"type": "git",
"url": "git+https://github.com/xinpianchang/xpc-common.git"
},
"keywords": [
"javascript",
"common",
"utils",
"lifecycle",
"event"
],
"author": "tangye <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/xinpianchang/xpc-common#readme",
"devDependencies": {
"@babel/cli": "^7.10.4",
"@babel/core": "^7.10.4",
"@babel/node": "^7.10.4",
"@babel/plugin-proposal-class-properties": "^7.10.1",
"@babel/plugin-proposal-decorators": "^7.10.1",
"@babel/plugin-proposal-export-namespace-from": "^7.10.1",
"@babel/plugin-transform-typescript": "^7.10.1",
"@babel/preset-env": "^7.10.2",
"@babel/preset-typescript": "^7.10.1",
"@typescript-eslint/eslint-plugin": "^3.2.0",
"@typescript-eslint/parser": "^3.2.0",
"concurrently": "^5.2.0",
"eslint": "^7.2.0",
"lint-staged": "^10.2.9",
"rimraf": "^3.0.2",
"typescript": "^3.9.7"
},
"engines": {
"node": ">= 10.0.0"
},
"files": [
"dist",
"lib"
],
"npmName": "@newstudios/common",
"sideEffects": false
}