Skip to content

Commit

Permalink
chore: rename npm scripts 'compile' to 'build'
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrik Hermansen committed Jan 5, 2018
1 parent 9ae5870 commit bf610db
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/ffe-accordion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"npm run lint && lessc examples/examples.less examples/examples.css && cp -R node_modules/ffe-core/fonts/ examples/fonts/ && echo \"$(date +%T): Updated example\"",
"lint": "lessc --lint examples/examples.less && stylelint less/*.less",
"start":
"opn examples/accordion.html & watch \"npm run -s compile\" less/",
"opn examples/accordion.html & watch \"npm run -s build\" less/",
"test:nsp": "nsp check",
"test": "npm run lint && npm run test:nsp"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ffe-grid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ the following commands available to you:
$ npm start # Starts a local web server with live reload
$ npm test # Runs visual regression tests
$ npm run lint # Lints your less-files
$ npm run compile # Compiles the files into the examples/ folder
$ npm run build # Compiles the files into the examples/ folder
```

## Contributing
Expand Down
6 changes: 3 additions & 3 deletions packages/ffe-grid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"version": "6.0.3",
"description": "A grid component for use within the FFE framework",
"scripts": {
"compile":
"build":
"lessc examples/examples.less examples/examples.css && cp -R node_modules/ffe-core/fonts/ examples/ && echo \"$(date +%T): Updated examples\"",
"lint": "lessc --lint examples/examples.less && stylelint less/*.less",
"start":
"opn examples/examples.html & watch \"npm run -s compile\" less/",
"test": "npm run lint && npm run test:nsp && npm run compile",
"opn examples/examples.html & watch \"npm run -s build\" less/",
"test": "npm run lint && npm run test:nsp && npm run build",
"test:nsp": "nsp check"
},
"keywords": ["ffe"],
Expand Down

0 comments on commit bf610db

Please sign in to comment.