From acd254fc434874d6a5d9600922a5455e1b743cf2 Mon Sep 17 00:00:00 2001 From: wangxiao65 <287608437@qq.com> Date: Wed, 9 Sep 2020 16:16:55 +0800 Subject: [PATCH] fix package.json, make the rpm can provides npm(requirejs) --- package.json | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a4f0e80..c4f4583 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,28 @@ { - "volo": { - "url": "https://raw.github.com/jrburke/r.js/{version}/dist/r.js" + "name": "requirejs", + "description": "Node adapter for RequireJS, for loading AMD modules. Includes RequireJS optimizer", + "version": "2.1.11", + "homepage": "http://github.com/jrburke/r.js", + "author": "James Burke (http://github.com/jrburke)", + "licenses": [ + { + "type": "BSD", + "url": "https://github.com/jrburke/r.js/blob/master/LICENSE" + }, + { + "type": "MIT", + "url": "https://github.com/jrburke/r.js/blob/master/LICENSE" + } + ], + "repository": { + "type": "git", + "url": "https://github.com/jrburke/r.js.git" + }, + "main": "./bin/r.js", + "bin": { + "r.js": "./bin/r.js" + }, + "engines": { + "node": ">=0.4.0" } } -- 2.23.0