-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
44 lines (44 loc) · 3.13 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"name": "conventional-options",
"version": "2.0.0",
"description": "An options convenience library",
"config": {
"configuration": "Release",
"projectName": "ConventionalOptions",
"publishSource": "https://www.nuget.org/api/v2/package"
},
"repository": {
"type": "git",
"url": "https://github.com/derekgreer/conventionalOptions.git"
},
"scripts": {
"ci:release": "standard-version -a --releaseCommitMessageFormat=\"chore(release): {{currentTag}}; [skip ci]\"",
"clean": "rimraf dist build",
"prebuild": "npm run clean",
"build": "npm-run-all build:restore build:compile tests package",
"build:restore": "globstar -- dotnet restore **/*.sln /p:Version=${npm_config_version_prefix:-${npm_package_version}}",
"build:compile": "globstar -- dotnet build **/*.sln --configuration ${npm_package_config_configuration} /p:Version=${npm_config_version_prefix:-${npm_package_version}}",
"tests": "dotnet test src/*.Specs/*.csproj --no-build --configuration ${npm_package_config_configuration}",
"package": "npm-run-all package:*",
"package:main": "globstar -- dotnet pack ./src/**/${npm_package_config_projectName}.csproj -c ${npm_package_config_configuration} --no-build -o dist --include-symbols -p:VersionPrefix=${npm_config_version_prefix:-${npm_package_version}} ${npm_config_version_suffix:+--version-suffix ${npm_config_version_suffix}}",
"package:autofac": "globstar -- dotnet pack ./src/**/${npm_package_config_projectName}.Autofac.csproj -c ${npm_package_config_configuration} --no-build -o dist --include-symbols -p:VersionPrefix=${npm_config_version_prefix:-${npm_package_version}} ${npm_config_version_suffix:+--version-suffix ${npm_config_version_suffix}}",
"package:di": "globstar -- dotnet pack ./src/**/${npm_package_config_projectName}.DependencyInjection.csproj -c ${npm_package_config_configuration} --no-build -o dist --include-symbols -p:VersionPrefix=${npm_config_version_prefix:-${npm_package_version}} ${npm_config_version_suffix:+--version-suffix ${npm_config_version_suffix}}",
"package:ninject": "globstar -- dotnet pack ./src/**/${npm_package_config_projectName}.Ninject.csproj -c ${npm_package_config_configuration} --no-build -o dist --include-symbols -p:VersionPrefix=${npm_config_version_prefix:-${npm_package_version}} ${npm_config_version_suffix:+--version-suffix ${npm_config_version_suffix}}",
"package:structureMap": "globstar -- dotnet pack ./src/**/${npm_package_config_projectName}.StructureMap.csproj -c ${npm_package_config_configuration} --no-build -o dist --include-symbols -p:VersionPrefix=${npm_config_version_prefix:-${npm_package_version}} ${npm_config_version_suffix:+--version-suffix ${npm_config_version_suffix}}",
"publish": "dotnet nuget push --source ${npm_package_config_publishSource} --skip-duplicate dist/**/*.nupkg",
"publish:private": "copyfiles --flat --error dist/*.nupkg ${APPDATA}/Packages/"
},
"keywords": [
"configuration",
"options"
],
"author": "Derek Greer",
"license": "MIT",
"dependencies": {},
"devDependencies": {
"copyfiles": "^2.2.0",
"globstar": "^1.0.0",
"npm-run-all": "^4.0.2",
"rimraf": "^2.6.1"
}
}