|
1 | 1 | { |
2 | 2 | "name": "testdouble", |
3 | | - "version": "3.5.1", |
| 3 | + "version": "3.5.2", |
4 | 4 | "description": "A minimal test double library for TDD with JavaScript", |
5 | 5 | "homepage": "https://github.com/testdouble/testdouble.js", |
6 | 6 | "author": { |
|
9 | 9 | "url": "http://testdouble.com" |
10 | 10 | }, |
11 | 11 | "main": "lib/index.js", |
12 | | - "files": ["src", "lib", "dist", "index.d.ts"], |
| 12 | + "files": [ |
| 13 | + "src", |
| 14 | + "lib", |
| 15 | + "dist", |
| 16 | + "index.d.ts" |
| 17 | + ], |
13 | 18 | "config": { |
14 | 19 | "build_file": "dist/testdouble.js" |
15 | 20 | }, |
16 | 21 | "scripts": { |
17 | 22 | "clean": "rimraf dist lib coverage", |
18 | 23 | "postclean": "mkdirp dist", |
19 | | - "compile:browser": |
20 | | - "cross-conf-env browserify src/index.js --standalone td --outfile $npm_package_config_build_file -p tsify -p headerify", |
| 24 | + "compile:browser": "cross-conf-env browserify src/index.js --standalone td --outfile $npm_package_config_build_file -p tsify -p headerify", |
21 | 25 | "compile:node": "tsc", |
22 | 26 | "precompile": "npm run clean", |
23 | 27 | "compile": "run-s compile:node compile:browser", |
24 | 28 | "cover": "nyc --reporter=lcov --reporter=text-summary --reporter=html npm test", |
25 | 29 | "cover:report": "codeclimate-test-reporter < coverage/lcov.info", |
26 | 30 | "style": "run-p style:js style:ts", |
27 | 31 | "style:js": "standard --fix", |
28 | | - "style:ts": |
29 | | - "standard --fix --parser typescript-eslint-parser --plugin typescript \"**/*.ts\"", |
| 32 | + "style:ts": "standard --fix --parser typescript-eslint-parser --plugin typescript \"**/*.ts\"", |
30 | 33 | "test": "teenytest --helper test/helper.js \"test/**/*.test.{js,ts}\"", |
31 | 34 | "test:all": "run-s test test:example", |
32 | 35 | "test:unit": "teenytest --helper test/helper.js \"test/unit/**/*.test.{js,ts}\"", |
33 | 36 | "test:safe": "teenytest --helper test/helper.js \"test/safe/**/*.test.{js,ts}\"", |
34 | 37 | "test:ci": "npm run compile && run-p style test:all && echo \"All done!\"", |
35 | | - "test:example": |
36 | | - "npm link && run-p test:example:babel test:example:jest test:example:jest-broken test:example:plain-html test:example:node test:example:webpack", |
| 38 | + "test:example": "npm link && run-p test:example:babel test:example:jest test:example:jest-broken test:example:plain-html test:example:node test:example:webpack", |
37 | 39 | "test:example:babel": "./script/run-examples babel", |
38 | 40 | "test:example:jest": "./script/run-examples jest", |
39 | 41 | "test:example:jest-broken": "./script/run-examples jest-broken", |
40 | 42 | "test:example:plain-html": "./script/run-examples plain-html", |
41 | 43 | "test:example:node": "./script/run-examples node", |
42 | 44 | "test:example:webpack": "./script/run-examples webpack", |
43 | 45 | "version:write": "echo \"export default '$npm_package_version'\" > src/version.js", |
44 | | - "version:changelog": |
45 | | - "if command -v github_changelog_generator &>/dev/null; then github_changelog_generator; git commit -m \"Changelog for $npm_package_version\" CHANGELOG.md; else echo Versioning requires you first run 'gem install github_changelog_generator' >&2; fi", |
| 46 | + "version:changelog": "if command -v github_changelog_generator &>/dev/null; then github_changelog_generator; git commit -m \"Changelog for $npm_package_version\" CHANGELOG.md; else echo Versioning requires you first run 'gem install github_changelog_generator' >&2; fi", |
46 | 47 | "preversion": "git pull --rebase && npm run test:ci", |
47 | 48 | "version": "npm run version:write && npm run compile && git add src/version.js", |
48 | | - "postversion": |
49 | | - "git push --tags && npm run version:changelog && git push && npm publish", |
| 49 | + "postversion": "git push --tags && npm run version:changelog && git push && npm publish", |
50 | 50 | "prepare": "npm run compile" |
51 | 51 | }, |
52 | 52 | "browser": { |
53 | 53 | "./src/replace/module.js": "./src/replace/module.browser.js", |
54 | 54 | "quibble": "./src/quibble.browser.js" |
55 | 55 | }, |
56 | 56 | "standard": { |
57 | | - "globals": ["td", "assert", "ES_SUPPORT"], |
58 | | - "ignore": ["index.d.ts", "examples/**"] |
| 57 | + "globals": [ |
| 58 | + "td", |
| 59 | + "assert", |
| 60 | + "ES_SUPPORT" |
| 61 | + ], |
| 62 | + "ignore": [ |
| 63 | + "index.d.ts", |
| 64 | + "examples/**" |
| 65 | + ] |
59 | 66 | }, |
60 | 67 | "nyc": { |
61 | | - "include": ["src/**/*.js"], |
62 | | - "exclude": ["examples"], |
| 68 | + "include": [ |
| 69 | + "src/**/*.js" |
| 70 | + ], |
| 71 | + "exclude": [ |
| 72 | + "examples" |
| 73 | + ], |
63 | 74 | "all": true |
64 | 75 | }, |
65 | 76 | "teenytest": { |
66 | | - "plugins": ["test/support/tdify-plugin.js"] |
| 77 | + "plugins": [ |
| 78 | + "test/support/tdify-plugin.js" |
| 79 | + ] |
67 | 80 | }, |
68 | 81 | "dependencies": { |
69 | 82 | "es6-map": "^0.1.5", |
|
98 | 111 | "src": "./src" |
99 | 112 | }, |
100 | 113 | "typings": "./index.d.ts", |
101 | | - "keywords": ["tdd", "bdd", "mock", "stub", "spy", "test double", "double"], |
| 114 | + "keywords": [ |
| 115 | + "tdd", |
| 116 | + "bdd", |
| 117 | + "mock", |
| 118 | + "stub", |
| 119 | + "spy", |
| 120 | + "test double", |
| 121 | + "double" |
| 122 | + ], |
102 | 123 | "bugs": { |
103 | 124 | "url": "https://github.com/testdouble/testdouble.js/issues" |
104 | 125 | }, |
|
0 commit comments