Skip to content

Commit 5749b65

Browse files
committed
Refactor package.json
1 parent 51beaa1 commit 5749b65

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

package.json

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,20 @@
77
"nlcst",
88
"emoticons"
99
],
10+
"repository": "https://github.com/wooorm/nlcst-emoticon-modifier",
11+
"bugs": "https://github.com/wooorm/nlcst-emoticon-modifier/issues",
12+
"author": "Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)",
13+
"contributors": [
14+
"Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)"
15+
],
16+
"files": [
17+
"index.js"
18+
],
1019
"dependencies": {
1120
"emoticon": "^2.0.0",
1221
"nlcst-to-string": "^2.0.0",
1322
"unist-util-modify-children": "^1.0.0"
1423
},
15-
"repository": "wooorm/nlcst-emoticon-modifier",
16-
"author": "Titus Wormer <mailto:tituswormer@gmail.com>",
17-
"files": [
18-
"index.js"
19-
],
2024
"devDependencies": {
2125
"browserify": "^13.0.0",
2226
"esmangle": "^1.0.0",
@@ -31,15 +35,14 @@
3135
"xo": "^0.17.1"
3236
},
3337
"scripts": {
38+
"build-md": "remark . --quiet --frail --output",
39+
"build-bundle": "browserify index.js --bare -s nlcstEmoticonModifier > nlcst-emoticon-modifier.js",
40+
"build-mangle": "esmangle < nlcst-emoticon-modifier.js > nlcst-emoticon-modifier.min.js",
41+
"build": "npm run build-md && npm run build-bundle && npm run build-mangle",
42+
"lint": "xo",
3443
"test-api": "node test",
3544
"test-coverage": "nyc --reporter lcov tape test/index.js",
36-
"test": "npm run test-api",
37-
"lint": "xo",
38-
"make": "npm run lint && npm run test-coverage",
39-
"bundle": "browserify index.js --no-builtins -s nlcstEmoticonModifier > nlcst-emoticon-modifier.js",
40-
"postbundle": "esmangle nlcst-emoticon-modifier.js > nlcst-emoticon-modifier.min.js",
41-
"build-md": "remark . --quiet --frail --output",
42-
"build": "npm run bundle && npm run build-md"
45+
"test": "npm run build && npm run lint && npm run test-coverage"
4346
},
4447
"nyc": {
4548
"check-coverage": true,

0 commit comments

Comments
 (0)