|
2 | 2 | "name": "spur-errors", |
3 | 3 | "description": "Common error builder utility for Node.js. Contains common error types, and stack trace tracking to support more detailed error messages.", |
4 | 4 | "version": "0.2.6", |
5 | | - "main": "lib/SpurErrors.js", |
6 | | - "jsnext:main": "./src/SpurErrors", |
| 5 | + "main": "./src/SpurErrors", |
7 | 6 | "author": { |
8 | 7 | "name": "Agustin Colchado", |
9 | 8 | "email": "agustin@colchado.com" |
|
19 | 18 | ], |
20 | 19 | "license": "MIT", |
21 | 20 | "scripts": { |
22 | | - "clean": "rm -rf lib/", |
23 | | - "build": "npm run clean && babel src -d lib --source-maps", |
24 | | - "dev": "npm run clean && babel --watch src -d lib", |
25 | | - "lint": "eslint .", |
| 21 | + "lint": "eslint ./{src,test}/**/*.js index.js", |
26 | 22 | "pretest": "npm run lint", |
27 | | - "test-unit": "babel-node --debug node_modules/mocha/bin/_mocha ./test/unit/", |
28 | | - "test-integration": "babel-node --debug node_modules/mocha/bin/_mocha ./test/integration/", |
29 | | - "test": "npm run test-unit && npm run test-integration", |
30 | | - "build-and-test": "npm run build && npm test" |
| 23 | + "test": "mocha test/" |
31 | 24 | }, |
32 | 25 | "bugs": { |
33 | 26 | "url": "https://github.com/opentable/spur-errors/issues" |
|
39 | 32 | }, |
40 | 33 | "dependencies": {}, |
41 | 34 | "devDependencies": { |
42 | | - "babel-cli": "^6.18.0", |
43 | | - "babel-plugin-add-module-exports": "^0.2.1", |
44 | | - "babel-plugin-transform-object-assign": "^6.8.0", |
45 | | - "babel-plugin-transform-regenerator": "6.16.1", |
46 | | - "babel-preset-es2015": "^6.18.0", |
47 | | - "babel-preset-es2015-loose": "^8.0.0", |
48 | | - "chai": "^3.5.0", |
49 | | - "eslint": "^3.13.1", |
50 | | - "eslint-config-opentable": "^6.0.0", |
51 | | - "eslint-plugin-import": "^2.2.0", |
52 | | - "mocha": "^3.2.0", |
53 | | - "sinon": "^1.17.3" |
| 35 | + "chai": "^4.1.1", |
| 36 | + "eslint": "^4.5.0", |
| 37 | + "eslint-plugin-node": "^5.1.1", |
| 38 | + "mocha": "^3.5.0", |
| 39 | + "sinon": "^3.2.1" |
| 40 | + }, |
| 41 | + "engines": { |
| 42 | + "node": ">=6.0.0" |
54 | 43 | } |
55 | 44 | } |
0 commit comments