forked from adaltas/node-pad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
57 lines (57 loc) · 1.71 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
{
"name": "pad",
"description": "Left and right string padding",
"version": "3.2.0",
"author": "David Worms <[email protected]> (https://www.adaltas.com)",
"contributors": [],
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.4",
"@babel/preset-env": "^7.4.4",
"@types/mocha": "^5.2.5",
"@types/node": "^10.12.10",
"@types/should": "^13.0.0",
"coffeescript": "^2.4.1",
"mocha": "^6.1.4",
"rollup": "^1.12.3",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-node-resolve": "^5.0.0",
"ts-node": "^8.3.0",
"typescript": "^3.5.3",
"should": "^13.2.3"
},
"dependencies": {
"wcwidth": "^1.0.1"
},
"engines": {
"node": ">= 4.0.0"
},
"homepage": "https://github.com/adaltas/node-pad",
"keywords": [
"pad",
"string"
],
"files": [
"/dist"
],
"license": "BSD-3-Clause",
"main": "dist/pad.cjs.js",
"module": "dist/pad.esm.js",
"repository": {
"type": "git",
"url": "https://github.com/adaltas/node-pad.git"
},
"scripts": {
"preversion": "grep '## Trunk' CHANGELOG.md && npm test",
"version": "version=`grep '^ \"version\": ' package.json | sed 's/.*\"\\([0-9\\.]*\\)\".*/\\1/'` && sed -i \"s/## Trunk/## Version $version/\" CHANGELOG.md && git add CHANGELOG.md",
"postversion": "git push && git push --tags && npm publish",
"patch": "npm version patch -m 'Bump to version %s'",
"minor": "npm version minor -m 'Bump to version %s'",
"major": "npm version major -m 'Bump to version %s'",
"build": "rollup -c && cp -p lib/index.d.ts dist/pad.d.ts",
"pretest": "npm run build",
"test": "mocha test/*.{coffee,ts}"
},
"types": "dist/pad.d.ts"
}