Selaa lähdekoodia

`licenses` field is deprecated

the `licenses` field in package.json is deprecated. https://docs.npmjs.com/files/package.json#license

The `license` field is the recommended field and expects an SPDX expression.
Jason Karns 9 vuotta sitten
vanhempi
commit
071a523f42
1 muutettua tiedostoa jossa 2 lisäystä ja 6 poistoa
  1. 2 6
      package.json

+ 2 - 6
package.json

@@ -40,10 +40,6 @@
     "grunt": "~0.4.0",
     "node-sass": "~0.9.3"
   },
-  "licenses": [
-    {
-      "type": "MIT",
-      "url": "https://github.com/hakimel/reveal.js/blob/master/LICENSE"
-    }
-  ]
+  
+  "license": "MIT"
 }