-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
107 lines (107 loc) · 3.92 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
{
"name": "jsts-lib-starter",
"version": "0.1.3",
"description": "jsts-lib-starter最好用的js库脚手架",
"main": "dist/index.js",
"jsnext:main": "dist/index.esm.js",
"module": "dist/index.esm.js",
"srctype": "ts",
"sideEffects": false,
"scripts": {
"rename": "node rename.js",
"clean": "rimraf ./dist",
"test": "npm run lint && nyc mocha \"test/**/*.spec.ts\"",
"release": "npm test && npm run build && cross-var git commit -am $npm_package_version && cross-var git tag $npm_package_version && git push && git push --tags",
"build:self": "rollup -c config/rollup.config.js",
"build:esm": "rollup -c config/rollup.config.esm.js",
"build:umd": "rollup -c config/rollup.config.umd.js",
"build:umd.min": "cross-env NODE_ENV=production npm run build:umd",
"build": "npm run clean && npm run build:self && npm run build:esm && npm run build:umd && npm run build:umd.min",
"lint": "npm run prettier",
"lint:fix": "prettier-eslint --list-different --write %INIT_CWD%/src/**/*.ts",
"prettier": "prettier-eslint --list-different %INIT_CWD%/src/**/*.ts",
"coveralls": "nyc report --reporter=text-lcov | coveralls"
},
"scripts:js": {
"rename": "node rename.js",
"clean": "rimraf ./dist",
"build:self": "rollup -c config/rollup.config.js",
"build:esm": "rollup -c config/rollup.config.esm.js",
"build:umd": "rollup -c config/rollup.config.umd.js",
"build:umd.min": "cross-env NODE_ENV=production npm run build:umd",
"build": "npm run clean && npm run build:self && npm run build:esm && npm run build:umd && npm run build:umd.min",
"mocha": "mocha ./test/**/*.spec.js",
"test": "npm run lint && cross-env NODE_ENV=test nyc --nycrc-path .nycrc-js mocha",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"lint": "npm run prettier",
"lint:fix": "prettier-eslint --eslint-config-path=.eslintrcjs --list-different --write %INIT_CWD%/src/**/*.js",
"prettier": "prettier-eslint --eslint-config-path=.eslintrcjs --list-different %INIT_CWD%/src/**/*.js",
"release": "npm test && npm run build && cross-var git commit -am $npm_package_version && cross-var git tag $npm_package_version && git push && git push --tags"
},
"author": "ASheng",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/sonce/JSTS-Lib-Starter.git"
},
"bugs": {
"url": "https://github.com/sonce/JSTS-Lib-Starter/issues"
},
"files": [
"/dist",
"*.d.ts"
],
"engines": {
"node": ">= 0.12.0"
},
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/register": "^7.12.10",
"@babel/runtime": "^7.12.5",
"@js-lib/cli": "^1.6.0",
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-node-resolve": "^11.0.1",
"@types/chai": "^4.2.14",
"@types/mocha": "^8.2.0",
"@typescript-eslint/eslint-plugin": "^4.11.1",
"@typescript-eslint/parser": "^4.11.1",
"babel-plugin-istanbul": "^6.0.0",
"cdkit": "^1.3.0",
"chai": "^4.2.0",
"coveralls": "^3.1.0",
"cross-env": "^7.0.3",
"cross-var": "^1.1.0",
"es5-shim": "^4.5.14",
"eslint": "^7.16.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-prettier": "^3.3.0",
"husky": "^4.3.6",
"jsdom": "16.4.0",
"jsdom-global": "3.0.2",
"lint-staged": "^10.5.3",
"mem": "^8.0.0",
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"prettier": "^2.2.1",
"prettier-eslint": "^12.0.0",
"prettier-eslint-cli": "^5.0.0",
"rimraf": "^3.0.2",
"rollup": "^2.35.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-typescript2": "^0.29.0",
"rollup-plugin-uglify": "^6.0.4",
"source-map-support": "^0.5.19",
"ts-node": "^9.1.1",
"tslib": "^2.0.3",
"typescript": "^4.1.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"dependencies": {}
}