Skip to content

Commit c20e368

Browse files
committed
chore(npm): correct main and files
1 parent 5be14ec commit c20e368

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,18 @@
1313
},
1414
"version": "1.0.0",
1515
"description": "二重否定をチェックするtextlint rule",
16-
"main": "index.js",
16+
"main": "lib/no-doubled-negative-ja-test.js",
17+
"files": [
18+
"lib",
19+
"src"
20+
],
1721
"directories": {
1822
"test": "test"
1923
},
2024
"scripts": {
25+
"build": "babel src --out-dir lib --source-maps",
26+
"watch": "babel src --out-dir lib --watch --source-maps",
27+
"prepublish": "npm run --if-present build",
2128
"test": "mocha"
2229
},
2330
"keywords": [

0 commit comments

Comments
 (0)