Переглянути джерело

Updating build and dev scripts

Julien Deswaef 7 роки тому
батько
коміт
5099cc5bae
3 змінених файлів з 15 додано та 11 видалено
  1. 2 2
      README.md
  2. 11 7
      package.json
  3. 2 2
      src/README.md-nobuild

+ 2 - 2
README.md

@@ -72,8 +72,8 @@ From the root of the repository, install the tools used to develop.
 
 Build the project and documentation:
 
-    $ bundle exec jekyll build
+    $ npm run build
 
 Or serve it on a local server on http://localhost:7998/Fork-Awesome/:
 
-    $ bundle exec jekyll -w serve
+    $ npm run dev

+ 11 - 7
package.json

@@ -1,12 +1,12 @@
 {
-  "name": "font-awesome",
-  "description": "The iconic font and CSS framework",
+  "name": "fork-awesome",
+  "description": "A fork of the iconic font and CSS framework",
   "version": "4.7.0",
   "style": "css/font-awesome.css",
   "keywords": ["font", "awesome", "fontawesome", "icon", "bootstrap"],
-  "homepage": "http://fontawesome.io/",
+  "homepage": "",
   "bugs": {
-    "url" : "http://github.com/FortAwesome/Font-Awesome/issues"
+    "url" : "http://github.com/ForkAwesome/Fork-Awesome/issues"
   },
   "author": {
     "name": "Dave Gandy",
@@ -15,7 +15,7 @@
   },
   "repository": {
     "type": "git",
-    "url": "https://github.com/FortAwesome/Font-Awesome.git"
+    "url": "https://github.com/ForkAwesome/Fork-Awesome.git"
   },
   "contributors": [
     {
@@ -38,7 +38,11 @@
   "license": "(OFL-1.1 AND MIT)",
   "dependencies": {
   },
-  "engines" : {
-    "node" : ">=0.10.3"
+  "engines": {
+    "node": ">=0.10.3"
+  },
+  "scripts": {
+    "build": "bundle exec jekyll build",
+    "dev": "bundle exec jekyll -w serve"
   }
 }

+ 2 - 2
src/README.md-nobuild

@@ -74,8 +74,8 @@ From the root of the repository, install the tools used to develop.
 
 Build the project and documentation:
 
-    $ bundle exec jekyll build
+    $ npm run build
 
 Or serve it on a local server on http://localhost:7998/Fork-Awesome/:
 
-    $ bundle exec jekyll -w serve
+    $ npm run dev