Skip to content

Commit

Permalink
chore(prettier): ignore package.json and package-lock.json
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickarlt committed Dec 22, 2017
1 parent 141ea9b commit 57d234e
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 31 deletions.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
package.json
package-lock.json
6 changes: 3 additions & 3 deletions docs/acetate.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,9 @@ module.exports = function(acetate) {
});

acetate.helper("cdnUrl", function(context, package) {
return `https://unpkg.com/${package.name}@${package.version}/dist/umd/${package.name.split(
"/"
)[1]}.umd.js`;
return `https://unpkg.com/${
package.name
}@${package.version}/dist/umd/${package.name.split("/")[1]}.umd.js`;
});

acetate.helper("npmInstallCmd", function(context, package) {
Expand Down
4 changes: 2 additions & 2 deletions docs/src/api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ <h1 class="font-size-4">Packages</h1>
<h2 class="{{package.icon}} font-size-3 trailer-half"> {% link baseUrl + package.pageUrl, package.pkg.name, class="tsd-kind-icon" %}</h2>
<p>{{package.pkg.description}}</p>
<h3 class="font-size--1 trailer-half">NPM Install:</h2>
<pre><code>{% npmInstallCmd package %}</code></pre>
<pre><code>{% npmInstallCmd package.pkg %}</code></pre>
<h3 class="font-size--1 trailer-half">CDN URL:</h2>
<pre><code>{% cdnUrl package %}</code></pre>
<pre><code>{% cdnUrl package.pkg %}</code></pre>
<hr class="leader-half trailer-half">
<ul class="list-plain package-contents">
{% for declaration in package.declarations %}
Expand Down
39 changes: 13 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "@esri/arcgis-rest-js",
"version": "1.0.2",
"description":
"Compact, modular JavaScript wrappers for the ArcGIS REST API that run in Node.js and modern browsers.",
"description": "Compact, modular JavaScript wrappers for the ArcGIS REST API that run in Node.js and modern browsers.",
"devDependencies": {
"@types/es6-promise": "0.0.32",
"@types/fetch-mock": "^5.12.2",
Expand All @@ -17,8 +16,7 @@
"concurrently": "^3.5.1",
"cpx": "^1.5.0",
"cross-spawn": "^5.1.0",
"cz-lerna-changelog":
"github:patrickarlt/cz-lerna-changelog#3fe7650a2e2e624b1f46e5031c96119759698288",
"cz-lerna-changelog": "github:patrickarlt/cz-lerna-changelog#3fe7650a2e2e624b1f46e5031c96119759698288",
"date-fns": "^1.29.0",
"fetch-mock": "^5.13.1",
"gh-pages": "^1.1.0",
Expand Down Expand Up @@ -72,42 +70,31 @@
"scripts": {
"build": "lerna run build",
"test": "npm run test:node && npm run test:chrome",
"test:chrome:debug":
"karma start --auto-watch --no-single-run --browsers=Chrome",
"test:chrome:debug": "karma start --auto-watch --no-single-run --browsers=Chrome",
"test:chrome": "karma start --single-run --browsers=Chrome",
"test:node": "jasmine --config=jasmine.json",
"test:node:debug": "inspect jasmine --config=jasmine.json",
"docs:build":
"rimraf docs/build && npm run docs:typedoc && npm run docs:build:acetate && npm run docs:build:sass && npm run docs:build:images",
"docs:build:acetate":
"ENV=prod acetate build --config docs/acetate.config.js",
"docs:build:sass":
"node-sass --output docs/build/css --source-map true --source-map-contents docs/src/sass",
"docs:build:images":
"cpx \"docs/src/**/*.{png,jpg,jpeg,gif,svg,webm,ogg}\" docs/build",
"docs:build": "rimraf docs/build && npm run docs:typedoc && npm run docs:build:acetate && npm run docs:build:sass && npm run docs:build:images",
"docs:build:acetate": "ENV=prod acetate build --config docs/acetate.config.js",
"docs:build:sass": "node-sass --output docs/build/css --source-map true --source-map-contents docs/src/sass",
"docs:build:images": "cpx \"docs/src/**/*.{png,jpg,jpeg,gif,svg,webm,ogg}\" docs/build",
"docs:deploy": "npm run docs:build && node support/deploy-doc-site.js",
"docs:typedoc": "node docs/build-typedoc.js",
"docs:dev:typedoc":
"onchange -v 'packages/*/src/**/*.ts' -- npm run docs:typedoc",
"docs:dev:typedoc": "onchange -v 'packages/*/src/**/*.ts' -- npm run docs:typedoc",
"predocs:serve": "npm run docs:typedoc",
"docs:serve":
"rimraf docs/build && concurrently \"npm run docs:dev:js\" \"npm run docs:dev:images\" \"npm run docs:dev:acetate\" \"npm run docs:dev:sass\" \"npm run docs:dev:typedoc\"",
"docs:dev:images":
"cpx \"docs/src/**/*.{png,jpg,jpeg,gif,svg,webm,ogg}\" docs/build -w",
"docs:dev:acetate":
"acetate server --log=debug --config docs/acetate.config.js",
"docs:serve": "rimraf docs/build && concurrently \"npm run docs:dev:js\" \"npm run docs:dev:images\" \"npm run docs:dev:acetate\" \"npm run docs:dev:sass\" \"npm run docs:dev:typedoc\"",
"docs:dev:images": "cpx \"docs/src/**/*.{png,jpg,jpeg,gif,svg,webm,ogg}\" docs/build -w",
"docs:dev:acetate": "acetate server --log=debug --config docs/acetate.config.js",
"predocs:dev:sass": "npm run docs:build:sass",
"docs:dev:sass":
"node-sass --watch --recursive --output docs/build/css --source-map true --source-map-contents docs/src/sass",
"docs:dev:sass": "node-sass --watch --recursive --output docs/build/css --source-map true --source-map-contents docs/src/sass",
"docs:dev:js": "cpx \"docs/src/**/{api-search,}.js\" docs/build -w",
"lint": "tslint --project tsconfig.json --type-check",
"lint:fix": "tslint --project tsconfig.json --type-check --fix",
"precommit": "lint-staged",
"bootstrap": "lerna bootstrap",
"postinstall": "npm run bootstrap",
"prerelease:prepare": "git fetch --all && lerna bootstrap && npm test",
"release:prepare":
"lerna publish --skip-git --skip-npm --yes && node ./support/changelog.js",
"release:prepare": "lerna publish --skip-git --skip-npm --yes && node ./support/changelog.js",
"release:review": "git --no-pager diff --word-diff",
"release:publish": "./support/publish.sh",
"postrelease:publish": "npm run docs:deploy",
Expand Down

0 comments on commit 57d234e

Please sign in to comment.