package.json

2018-10-16  本文已影响0人  arymy

{
"name": "json.is", //名字
"version": "1.3.0", //版本
"private": true, //是否私有
"description": "Open-source documentation for common JSON formats", //描述
"keywords": ["web-app", "static", "documentation"], //关键字(供搜索)
"author":"writer" //作者信息
"homepage": "http://package.json.is", //项目主页地址
"bugs": "https://github.com/eagerio/json.is/issues", //问题地址等信息("bugs{"url":"https://github.com/owner/project/issues","email": "project@hostname.com"})
"license": "MIT", //许可(默认是 MIT)
"files": ["src/*", "README.md"], //上传到npm的文件/文件夹
"bin": "./cli.js", //
"main": "app.js", //入口文件,一般都是 index.js
"engines": { //node、npm版本信息
"node": "0.10.26"
},
"scripts": { //支持的脚本,默认是一个空的 test
"test": "karma start tests/karma.conf.js",
"test-single-run": "karma start tests/karma.conf.js --single-run"
},
"dependencies": { //生产环境下需要用到的依赖
"axios": "0.16.1",
"echarts": "3.8.3",
"element-ui": "2.2.2",
"vue": "2.5.2",
"vue-awesome-swiper": "2.6.7",
"vue-i18n": "6.1.3",
"vue-router": "2.5.3",
"vuex": "2.3.1"
},
"devDependencies": { //开发环境下需要用到的依赖
"coffee-script": "^1.7.1",
"gulp": "~3.6.2",
"gulp-concat": "~2.1.7",
"gulp-jshint": "~1.5.0",
"gulp-angular-templatecache": "^1.1.0",
"gulp-coffee": "~1.4.1",
"gulp-util": "~2.2.14",
"gulp-if": "~0.0.5",
"gulp-jade": "~0.4.2",
"gulp-stylus": "1.3.7",
"browserify": "^4.1.6",
"coffeeify": "^0.6.0",
"nib": "^1.0.2",
"marked": "^0.3.2",
"gulp-bower": "0.0.4",
"proxy-middleware": "^0.5.0",
"gulp-rename": "~1.2.0",
"gulp-markdown": "~0.1.2",
"karma": "^0.12.16",
"karma-jasmine": "~0.1.5",
"karma-chrome-launcher": "~0.1.4",
"karma-coffee-preprocessor": "^0.2.1",
"karma-firefox-launcher": "~0.1.3",
"protractor": "^0.24.0",
"selenium-webdriver": "^2.42.0",
"q": "^1.0.1",
"gulp-shell": "^0.2.7",
"vinyl-source-stream": "^0.1.1",
"gulp-minify-css": "0.4.4",
"gulp-uglify": "^0.2.1",
"gulp-mustache": "^1.0.2"
}
}

上一篇下一篇

猜你喜欢

热点阅读