Skip to content

Commit

Permalink
# This is a combination of 3 commits.
Browse files Browse the repository at this point in the history
# This is the 1st commit message:
Stylelint works for application

# This is the commit message mapbox#2:

WIP modify lint-css script in package.json

# This is the commit message mapbox#3:

Ammend warning for lint-css npm script
  • Loading branch information
ai-santos committed Apr 13, 2017
1 parent 534f854 commit 4f3b0ea
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions debug/access_token.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use strict';

mapboxgl.accessToken = getAccessToken();
require('dotenv').config()

function getAccessToken() {
var accessToken = (
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"pbf": "^1.3.2",
"point-geometry": "^0.0.0",
"quickselect": "^1.0.0",
"stylelint": "^7.10.1",
"supercluster": "^2.0.1",
"through2": "^2.0.3",
"tinyqueue": "^1.1.0",
Expand Down Expand Up @@ -73,6 +72,7 @@
"request": "^2.79.0",
"sinon": "^2.1.0",
"st": "^1.2.0",
"stylelint": "^7.10.1",
"tap": "^10.3.0",
"vinyl": "^2.0.1",
"vinyl-fs": "^2.4.4",
Expand Down Expand Up @@ -117,9 +117,9 @@
"start-docs": "npm run build-min && npm run build-docs && jekyll serve --watch",
"lint": "eslint --cache --ignore-path .gitignore src test bench docs/_posts/examples/*.html debug/*.html",
"lint-docs": "documentation lint src/index.js",
"lint-css": "",
"lint-css": "stylelint 'docs/*.css' || true",
"open-changed-examples": "git diff --name-only mb-pages HEAD -- docs/_posts/examples/*.html | awk '{print \"http://127.0.0.1:4000/mapbox-gl-js/example/\" substr($0,33,length($0)-37)}' | xargs open",
"test": "run-s lint lint-css test-unit test-flow",
"test": "run-s lint test-unit test-flow",
"test-suite": "run-s test-render test-query",
"test-suite-clean": "find test/integration/*-tests -mindepth 2 -type d -not \\( -exec test -e \"{}/style.json\" \\; \\) -print | xargs -t rm -r",
"test-unit": "tap --reporter dot --no-coverage test/unit",
Expand Down
1 change: 1 addition & 0 deletions src/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MAPBOX_ACCESS_TOKEN=sk.eyJ1IjoiYXNhbnRvczMwMjYiLCJhIjoiY2oxY293bGk4MDA2NDMzcGRxNGdyc3lpbSJ9.uxcZ_o19abopWFm2vwstmg

0 comments on commit 4f3b0ea

Please sign in to comment.