Skip to content

Commit f3ac10f

Browse files
author
Richard Hallows
committed
Use modules.export
1 parent 69bdc59 commit f3ac10f

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
node_modules
2-
dist
File renamed without changes.

src/index.js index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export default {
1+
module.exports = {
22
"rules": {
33
"at-rule-empty-line-before": [ 2, "always", {
44
except: ["blockless-group"],

package.json

+3-5
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@
1212
"type": "git",
1313
"url": "https://github.com/stylelint/stylelint-config-suitcss.git"
1414
},
15-
"main": "dist/index.js",
15+
"main": "index.js",
1616
"files": [
1717
"CHANGELOG.md",
1818
"LICENSE",
19-
"dist",
20-
"src"
19+
"index.js"
2120
],
2221
"devDependencies": {
2322
"babel": "^5.6.14",
@@ -30,8 +29,7 @@
3029
},
3130
"scripts": {
3231
"lint": "eslint . --ignore-path .gitignore",
33-
"prepublish": "babel src --out-dir dist",
34-
"tape": "babel-tape-runner \"src/**/__tests__/*.js\"",
32+
"tape": "babel-tape-runner \"__tests__/**/*.js\"",
3533
"test": "npm run lint && npm run tape"
3634
}
3735
}

0 commit comments

Comments
 (0)