Skip to content

Commit e67e4f9

Browse files
committed
Refactor package.json
1 parent 25b7fdb commit e67e4f9

File tree

2 files changed

+18
-16
lines changed

2 files changed

+18
-16
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ deploy:
1515
api_key:
1616
secure: hBcRW3VRCqRUQlmvqpc0LEsOfS8g60kvGBjOOfmJv/nSk/OHtkqZ6pLyXAiK2yaxlJNUNlIoUgkNYv0vqyEzgLI26pDJf3oEHKsJVdyUOn1/bclVN3UQQXcNZGkUGiMafdZdtj/9wClfKKzizY2Hezip5vdO8bA0zBvzd4V8V6IYwn0gZcf6LtLd67DZuqD3Wq0pg07uDRlQlyxGj5Ib9RmSeOeT50bQe0QayL8mBf1/MkXtCu9S00PMQu9ShoH949IRrG2qvO99OCdBudkmAzgAfasQ163w31aFqHIcgzJZZz4NauQi1KJcVU3/kLkRnjI6qFHqZRp0rnAfgtsnOM9sojkKOQWOarY3/2kp7phh++KdhACSrEnyg8Qx1Am9IUsyd3gTse9a+/9U36gF1yi8iP+GrOfRGhNIloGNCJhZf2M1Jtn30oB2OcJ3O+iJg3R/rj2drBU0VQjLBmsL7J3zCmEIyrKAahKojv9YY5X8UKcJBVXeExOS1jfVzjg8Eg9tnzPQaWDwYeJVzYspGHrKAbZQ+VnTB+RvvEiWrij/O48he9x0rfjkQI6mzgnEt0EBAaAk09jNTSttt6YotVuPNXRlDR69XY7Px/PACBIMWb48bsm/sO14vx/11yvD7ZfKeLUS4LQKhsskk+nAXpmJ+nPvvxIgScFL0e4lfpo=
1717
file:
18-
- "nlcst-emoticon-modifier.js"
19-
- "nlcst-emoticon-modifier.min.js"
18+
- "nlcst-is-literal.js"
19+
- "nlcst-is-literal.min.js"
2020
on:
2121
tags: true
2222
node: '7.0'

package.json

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,18 @@
1111
"literal",
1212
"word"
1313
],
14-
"dependencies": {
15-
"nlcst-to-string": "^2.0.0"
16-
},
17-
"repository": "wooorm/nlcst-is-literal",
18-
"author": "Titus Wormer <[email protected]>",
14+
"repository": "https://github.com/wooorm/nlcst-is-literal",
15+
"bugs": "https://github.com/wooorm/nlcst-is-literal/issues",
16+
"author": "Titus Wormer <[email protected]> (http://wooorm.com)",
17+
"contributors": [
18+
"Titus Wormer <[email protected]> (http://wooorm.com)"
19+
],
1920
"files": [
2021
"index.js"
2122
],
23+
"dependencies": {
24+
"nlcst-to-string": "^2.0.0"
25+
},
2226
"devDependencies": {
2327
"browserify": "^13.0.0",
2428
"esmangle": "^1.0.0",
@@ -31,16 +35,14 @@
3135
"xo": "^0.17.1"
3236
},
3337
"scripts": {
34-
"test-api": "node test",
35-
"test-coverage": "nyc --reporter lcov tape test.js",
36-
"test-travis": "npm run test-coverage",
37-
"test": "npm run test-api",
38-
"lint": "xo",
39-
"make": "npm run lint && npm run test-coverage",
40-
"bundle": "browserify index.js --no-builtins -s nlcstIsLiteral > nlcst-is-literal.js",
41-
"postbundle": "esmangle nlcst-is-literal.js > nlcst-is-literal.min.js",
4238
"build-md": "remark . --quiet --frail --output",
43-
"build": "npm run bundle && npm run build-md"
39+
"build-bundle": "browserify index.js --bare -s nlcstIsLiteral > nlcst-is-literal.js",
40+
"build-mangle": "esmangle < nlcst-is-literal.js > nlcst-is-literal.min.js",
41+
"build": "npm run build-md && npm run build-bundle && npm run build-mangle",
42+
"lint": "xo",
43+
"test-api": "node test",
44+
"test-coverage": "nyc --reporter lcov tape test/index.js",
45+
"test": "npm run build && npm run lint && npm run test-coverage"
4446
},
4547
"nyc": {
4648
"check-coverage": true,

0 commit comments

Comments
 (0)