Skip to content

Commit

Permalink
(pkg): reorder package.json fields
Browse files Browse the repository at this point in the history
- deps at the bottom always with scripts just above
  - and any dep specific configuration in b/t them
    - still wish there were an ava.config.js :/
- usage at the top and other info below
  - homepage above repository and bugs
  - author and license above homepage

- basically just categorized this way for now
  • Loading branch information
agilgur5 committed Jul 23, 2019
1 parent da7fdf8 commit be97543
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,15 @@
"browserify.js",
"browserify-worker-stub.js"
],
"scripts": {
"test": "npm run clean && npm run browserify && npm run webpack && ava",
"test:browserify": "npm run browserify && ava browserify.spec.js",
"test:webpack": "npm run webpack && ava webpack.spec.js",
"browserify": "browserify test-utils/browserify/_export-to-window.js > build/browserify.bundle.js",
"webpack": "webpack test-utils/webpack/_export-to-window.js -o build/webpack.bundle.js --mode='development'",
"clean": "rm -rf build/ && mkdir build/"
},
"ava": {
"require": [
"./test-utils/_setup-browser-env.js"
]
"author": "agilgur5",
"license": "MIT",
"homepage": "https://github.com/agilgur5/physijs-webpack",
"repository": {
"type": "git",
"url": "git@github.com:agilgur5/physijs-webpack.git"
},
"peerDependencies": {
"three": "^0.73.0"
"bugs": {
"url": "https://github.com/agilgur5/physijs-webpack/issues"
},
"keywords": [
"physijs",
Expand All @@ -42,16 +36,22 @@
"three.js",
"port"
],
"repository": {
"type": "git",
"url": "git@github.com:agilgur5/physijs-webpack.git"
"scripts": {
"test": "npm run clean && npm run browserify && npm run webpack && ava",
"test:browserify": "npm run browserify && ava browserify.spec.js",
"test:webpack": "npm run webpack && ava webpack.spec.js",
"browserify": "browserify test-utils/browserify/_export-to-window.js > build/browserify.bundle.js",
"webpack": "webpack test-utils/webpack/_export-to-window.js -o build/webpack.bundle.js --mode='development'",
"clean": "rm -rf build/ && mkdir build/"
},
"homepage": "https://github.com/agilgur5/physijs-webpack",
"bugs": {
"url": "https://github.com/agilgur5/physijs-webpack/issues"
"ava": {
"require": [
"./test-utils/_setup-browser-env.js"
]
},
"peerDependencies": {
"three": "^0.73.0"
},
"author": "agilgur5",
"license": "MIT",
"devDependencies": {
"@react-frontend-developer/jsdom-worker": "^0.1.1",
"ava": "^2.1.0",
Expand Down

0 comments on commit be97543

Please sign in to comment.