Skip to content

Commit eaa5318

Browse files
committed
Reduce package manager scaffolding.
1 parent df34c15 commit eaa5318

File tree

6 files changed

+13
-166
lines changed

6 files changed

+13
-166
lines changed

Makefile

-6
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,6 @@ build-config: $(BUILDDIR)/package.json $(BUILDDIR)/component.json $(BUILDDIR)/bo
8585

8686
build-es-config: $(BUILD_ES)/package.json $(BUILD_ES)/README.md $(BUILD_ES)/LICENSE $(BUILD_ES)/CHANGELOG.md
8787

88-
bower.json: package.json
89-
support/sync-package-managers.js
90-
91-
component.json: package.json
92-
support/sync-package-managers.js
93-
9488
$(BUILDDIR)/package.json: package.json
9589
mkdir -p "$(@D)"
9690
support/sync-cjs-package.js > $@

bower.json

+11-59
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,17 @@
11
{
22
"name": "async",
3-
"description": "Higher-order functions and common patterns for asynchronous code",
43
"main": "dist/async.js",
5-
"keywords": [
6-
"async",
7-
"callback",
8-
"module",
9-
"utility"
10-
],
11-
"license": "MIT",
12-
"repository": {
13-
"type": "git",
14-
"url": "https://github.com/caolan/async.git"
15-
},
16-
"devDependencies": {
17-
"babel-cli": "^6.3.17",
18-
"babel-core": "^6.3.26",
19-
"babel-plugin-add-module-exports": "~0.1.2",
20-
"babel-plugin-transform-es2015-modules-commonjs": "^6.3.16",
21-
"babel-preset-es2015": "^6.3.13",
22-
"babelify": "^7.2.0",
23-
"benchmark": "bestiejs/benchmark.js",
24-
"bluebird": "^2.9.32",
25-
"chai": "^3.1.0",
26-
"coveralls": "^2.11.2",
27-
"es6-promise": "^2.3.0",
28-
"fs-extra": "^0.26.7",
29-
"jscs": "^1.13.1",
30-
"jscs-jsdoc": "^1.3.2",
31-
"jshint": "~2.8.0",
32-
"karma": "^0.13.2",
33-
"karma-browserify": "^4.2.1",
34-
"karma-firefox-launcher": "^0.1.6",
35-
"karma-mocha": "^0.2.0",
36-
"karma-mocha-reporter": "^1.0.2",
37-
"mocha": "^2.2.5",
38-
"native-promise-only": "^0.8.0-a",
39-
"nyc": "^2.1.0",
40-
"recursive-readdir": "^1.3.0",
41-
"rimraf": "^2.5.0",
42-
"rollup": "^0.25.0",
43-
"rollup-plugin-node-resolve": "^1.5.0",
44-
"rollup-plugin-npm": "~1.3.0",
45-
"rsvp": "^3.0.18",
46-
"semver": "^4.3.6",
47-
"uglify-js": "~2.4.0",
48-
"yargs": "~3.9.1"
49-
},
50-
"moduleType": [
51-
"amd",
52-
"globals",
53-
"node"
54-
],
554
"ignore": [
56-
"**/.*",
57-
"node_modules",
585
"bower_components",
59-
"test",
60-
"tests"
61-
],
62-
"authors": [
63-
"Caolan McMahon"
6+
"lib",
7+
"mocha_test",
8+
"node_modules",
9+
"perf",
10+
"support",
11+
"**/.*",
12+
"*.config.js",
13+
"*.json",
14+
"index.js",
15+
"Makefile"
6416
]
65-
}
17+
}

component.json

-17
This file was deleted.

package.json

+2-26
Original file line numberDiff line numberDiff line change
@@ -64,29 +64,5 @@
6464
"mocha-test": "npm run mocha-node-test && npm run mocha-browser-test",
6565
"test": "npm run-script lint && npm run mocha-node-test"
6666
},
67-
"license": "MIT",
68-
"jam": {
69-
"main": "dist/async.js",
70-
"include": [
71-
"dist/async.js",
72-
"README.md",
73-
"LICENSE"
74-
],
75-
"categories": [
76-
"Utilities"
77-
]
78-
},
79-
"spm": {
80-
"main": "dist/async.js"
81-
},
82-
"volo": {
83-
"main": "dist/async.js",
84-
"ignore": [
85-
"**/.*",
86-
"node_modules",
87-
"bower_components",
88-
"test",
89-
"tests"
90-
]
91-
}
92-
}
67+
"license": "MIT"
68+
}

support/sync-package-managers.js

-55
This file was deleted.

support/xyz.sh

-3
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ This involves updating the version number in package.json, committing this
1313
change (along with any staged changes), tagging the commit, pushing to the
1414
remote git repository, and finally publishing to the public npm registry.
1515
16-
If present, component.json is updated along with package.json.
17-
1816
Options:
1917
2018
-b --branch <name>
@@ -160,7 +158,6 @@ inc() {
160158

161159
inc package.json
162160

163-
run "$dir/sync-package-managers.js"
164161
run "git add --force *.json"
165162

166163
run "git commit --message '$message'"

0 commit comments

Comments
 (0)