Skip to content

Instantly share code, notes, and snippets.

@dodozhang21
Created August 25, 2017 18:15
Show Gist options
  • Save dodozhang21/9b6a51bc890e38c1243713a2650ec801 to your computer and use it in GitHub Desktop.
Save dodozhang21/9b6a51bc890e38c1243713a2650ec801 to your computer and use it in GitHub Desktop.
{
"alias-lookup": [
{
"uuid": "12341",
"id": "abcd1",
"entity_type": "node",
"bundle": "story",
"response_code": 200,
"alias": "/canonical/alias1"
},
{
"uuid": "12342",
"id": "abcd2",
"entity_type": "taxonomy",
"bundle": "category",
"response_code": 200,
"alias": "/canonical/alias2"
}
]
}
{
"/api/*": "/$1"
}
{
"name": "mdp.node.mtstarter",
"version": "0.0.0",
"private": true,
"scripts": {
"start": "node ./bin/www",
"dev": "NODE_ENV=local PORT=3000 DEBUG=mdp.node.mtstarter:* node ./bin/www",
"express:watch": "nodemon --config dev/nodemon.json --exec npm run dev -V --ignore public",
"scss:watch": "nodemon --config dev/nodemon-scss.json --exec node-sass assets/scss/ --output=public/stylesheets/ --output-style=expanded --include-path=./node_modules/compass-mixins/lib",
"browser:sync": "node dev/browserSync.js",
"json": "json-server --watch tests/fixtures/data.json --routes dev/jsonServerRoutes.json --port 3001",
"test": "mocha tests/**/*.js --timeout 10000 -R spec",
"test:single": "mocha --timeout 10000 --grep",
"local:all": "concurrently --kill-others \"npm run scss:watch\" \"npm run browser:sync\"",
"lint:jshint": "jshint --config=./node_modules/mdp.node.expressShared/dev/jshintrc.json --exclude-path=dev/jshintignore.txt . || true",
"lint:eslint": "eslint --config ./node_modules/mdp.node.expressShared/dev/eslintrc.json ./ || true",
"lint:js": "npm run lint:jshint && npm run lint:eslint || true",
"lint:scss": "stylelint '**/*.scss' --config ./node_modules/mdp.node.expressShared/dev/stylelintrc.json || true",
"lint:all": "npm run lint:js && npm run lint:scss"
},
"dependencies": {
"axios": "^0.16.2",
"body-parser": "~1.17.1",
"cookie-parser": "~1.4.3",
"debug": "~2.6.3",
"express": "~4.15.2",
"mdp.node.expressShared": "git+ssh://git@stash.meredith.com:7999/mt/mdp.node.expressshared.git#master",
"morgan": "~1.8.1",
"mout": "^1.0.0",
"serve-favicon": "~2.4.2",
"winston": "^2.3.1"
},
"devDependencies": {
"browser-sync": "^1.3.3",
"chai": "^4.0.2",
"cheerio": "^1.0.0-rc.2",
"compass-mixins": "git+https://github.com/Igosuki/compass-mixins.git#1.0.2",
"concurrently": "^3.5.0",
"eslint": "^4.4.1",
"express-writer": "0.0.4",
"jshint": "^2.9.5",
"json-server": "^0.11.2",
"mocha": "^3.4.2",
"moxios": "^0.4.0",
"node-sass": "^4.5.3",
"nodemon": "^1.11.0",
"sass-graph": "^2.2.4",
"stylelint": "^8.0.0",
"sinon": "^3.2.0",
"sinon-chai": "^2.13.0",
"supertest": "^3.0.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment