|
22 | 22 | "clean": "rimraf dist lib coverage",
|
23 | 23 | "clean:hard": "npm run clean && rimraf node_modules \"examples/*/node_modules\"",
|
24 | 24 | "postclean": "mkdirp dist",
|
25 |
| - "compile:browser": "cross-conf-env browserify src/index.js --standalone td --outfile $npm_package_config_build_file -p tsify -p headerify", |
| 25 | + "compile:browser": "cross-conf-env browserify src/index.js --standalone td --outfile $npm_package_config_build_file -p [ tsify --project tsconfig-browser.json ] -p headerify", |
26 | 26 | "compile:node": "tsc",
|
27 | 27 | "precompile": "npm run clean",
|
28 | 28 | "compile": "run-s compile:node compile:browser",
|
|
32 | 32 | "style": "run-p style:js style:ts",
|
33 | 33 | "style:js": "standard --fix",
|
34 | 34 | "style:ts": "standard --fix --parser @typescript-eslint/parser --plugin @typescript-eslint/eslint-plugin \"**/*.ts\"",
|
35 |
| - "test": "teenytest --helper test/helper.js \"test/**/*.test.{js,ts}\"", |
| 35 | + "test": "NODE_OPTIONS='--loader=quibble' TS_NODE_IGNORE='(?:^|/)node_modules/,notypescript' ./test/safe-esm/teenytest-proxy.js --helper test/helper.js \"test/**/*.test.{js,ts}\"", |
36 | 36 | "test:all": "run-s test test:example",
|
37 | 37 | "test:unit": "teenytest --helper test/helper.js \"test/unit/**/*.test.{js,ts}\"",
|
38 | 38 | "test:safe": "teenytest --helper test/helper.js \"test/safe/**/*.test.{js,ts}\"",
|
| 39 | + "test:esm": "NODE_OPTIONS='--loader=quibble' TS_NODE_IGNORE='(?:^|/)node_modules/,notypescript' ./test/safe-esm/teenytest-proxy.js --helper test/helper.js test/safe-esm/replace.test.js", |
39 | 40 | "test:ci": "npm run compile && run-p style test:all && echo \"All done!\"",
|
40 | 41 | "test:example": "run-p test:example:babel test:example:jest test:example:jest-broken test:example:plain-html test:example:node test:example:node-ava test:example:webpack",
|
41 | 42 | "test:example:babel": "./script/run-examples babel",
|
|
78 | 79 | },
|
79 | 80 | "teenytest": {
|
80 | 81 | "plugins": [
|
81 |
| - "test/support/tdify-plugin.js" |
| 82 | + "test/support/tdify-plugin.js", |
| 83 | + "teenytest-promise" |
82 | 84 | ]
|
83 | 85 | },
|
84 | 86 | "dependencies": {
|
85 | 87 | "lodash": "^4.17.15",
|
86 |
| - "quibble": "^0.5.7", |
| 88 | + "quibble": "^0.6.0", |
87 | 89 | "stringify-object-es5": "^2.5.0",
|
88 | 90 | "theredoc": "^1.0.0"
|
89 | 91 | },
|
|
97 | 99 | "dedent": "^0.7.0",
|
98 | 100 | "headerify": "^1.0.1",
|
99 | 101 | "is-number": "^7.0.0",
|
| 102 | + "is-promise": "^4.0.0", |
100 | 103 | "mkdirp": "^1.0.3",
|
101 | 104 | "npm-run-all": "^4.1.5",
|
102 | 105 | "nyc": "^15.0.0",
|
103 | 106 | "rimraf": "^3.0.2",
|
104 | 107 | "standard": "^14.3.1",
|
105 |
| - "teenytest": "^5.3.0", |
| 108 | + "teenytest": "^6.0.0", |
| 109 | + "teenytest-promise": "^1.0.0", |
106 | 110 | "testdouble": "^3.12.5",
|
107 |
| - "ts-node": "^8.6.2", |
| 111 | + "ts-node": "^8.10.1", |
108 | 112 | "tsify": "^4.0.1",
|
109 | 113 | "typescript": "^3.8.2"
|
110 | 114 | },
|
|
0 commit comments