-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
105 lines (105 loc) · 2.95 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
{
"name": "@jsmini/is",
"version": "0.10.0",
"description": "js判断函数,解决80%类型判断问题",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"sideEffects": false,
"scripts": {
"clean": "rimraf ./dist ./types",
"lint": "eslint -c .eslintrc.cjs 'src/**/*.js'",
"build:self": "rollup -c config/rollup.config.cjs",
"build:esm": "rollup -c config/rollup.config.esm.cjs",
"build:aio": "rollup -c config/rollup.config.aio.cjs",
"build": "npm run clean && npm run build:self && npm run build:esm && npm run build:aio",
"test": "cross-env NODE_ENV=test nyc mocha",
"release": "npm test && npm run build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags",
"lint:fix": "eslint --fix -c .eslintrc.cjs 'src/**/*.js' --fix",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"preinstall": "npx only-allow npm",
"start": "http-server -p 3000 -c-1",
"prepare": "husky install",
"ci": "commit",
"cz": "git-cz"
},
"author": "yanhaijing",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/jsmini/is.git"
},
"bugs": {
"url": "https://github.com/jsmini/is/issues"
},
"keywords": [
"type",
"is",
"is.js"
],
"devDependencies": {
"@js-lib/cli": "^2.3.2",
"es5-shim": "^4.6.7",
"eslint": "^8.54.0",
"expect.js": "^0.3.1",
"mocha": "^10.2.0",
"rollup": "^3.29.4",
"cross-env": "^7.0.3",
"rimraf": "^5.0.5",
"@babel/plugin-transform-runtime": "^7.23.3",
"@babel/preset-env": "^7.23.3",
"@babel/register": "^7.22.15",
"babel-plugin-istanbul": "^6.1.1",
"coveralls": "^3.1.1",
"nyc": "^15.1.0",
"source-map-support": "0.5.9",
"http-server": "^14.1.1",
"@babel/eslint-parser": "^7.23.3",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-prettier": "^5.0.1",
"husky": "^8.0.0",
"lint-staged": "^14.0.1",
"prettier": "3.1.0",
"commitizen": "^4.2.4",
"@commitlint/cli": "^16.3.0",
"@commitlint/config-conventional": "^16.2.4",
"@commitlint/cz-commitlint": "^16.3.0",
"@commitlint/format": "^12.1.1",
"@commitlint/prompt-cli": "^16.3.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4"
},
"dependencies": {
"@jsmini/type": "^0.11.0"
},
"files": [
"/dist",
"/types",
"*.d.ts"
],
"engines": {
"node": ">=14.0.0",
"npm": ">=6.0.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"exports": {
"node": {
"import": "./dist/index.mjs",
"default": "./dist/index.js"
},
"default": {
"import": "./dist/index.mjs",
"default": "./dist/index.js"
}
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
}
}