-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 2.81 KB
/
package.json
File metadata and controls
60 lines (60 loc) · 2.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"type": "module",
"license": "ISC",
"description": "various esmock unit tests",
"repository": {
"type": "git",
"url": "https://github.com/iambumblehead/esmock.git"
},
"main": "package.json.esmock.export.js",
"exports": {
"types": "./package.json.esmock.export.d.ts",
"import": "./package.json.esmock.export.js"
},
"imports": {
"#sub": "./local/subpath.js"
},
"dependencies": {
"pg": "^8.7.3",
"eslint": "^8.12.0",
"sinon": "^12.0.1",
"form-urlencoded": "^6.0.7",
"run-script-os": "^1.1.6",
"npm-run-all": "^4.1.5",
"babelGeneratedDoubleDefault": "file:./local/babelGeneratedDoubleDefault"
},
"scripts": {
"mini": "cd .. && cd src && npx esbuild esmock.js --minify --bundle --allow-overwrite --platform=node --format=esm --outfile=esmock.js",
"isnodelt18": "node -e \"+process.versions.node.split('.')[0] < 18 || process.exit(1)\"",
"isnodegt19": "node -e \"+process.versions.node.split('.')[0] > 19 || process.exit(1)\"",
"isnodenight": "node -e \"process.versions.node.includes('night') || process.exit(1)\"",
"install:esmock": "cd .. && npm install",
"install:test-ava": "cd tests-ava && npm install",
"install:test-uvu": "cd tests-uvu && npm install",
"install:test-tsm": "cd tests-tsm && npm install",
"install:test-node": "cd tests-node && npm install",
"install:test-jest": "cd tests-jest && npm install",
"install:test-jest-ts": "cd tests-jest-ts && npm install",
"install:test-source-map": "cd tests-source-map && npm install",
"install:test-no-loader": "cd tests-no-loader && npm install",
"install:test-nodets": "cd tests-nodets && npm install",
"install:test-mocha": "cd tests-mocha && npm install",
"install:all": "node --version && npm install && npm-run-all install:test*",
"test:test-uvu": "cd tests-uvu && npm test",
"test:test-mocha": "cd tests-mocha && npm test",
"test:node19-tsm": " cd tests-tsm && npm test",
"test:node18-test-tsm": "npm run isnodenight || npm run test:node19-tsm",
"test:node18-test-node": "cd tests-node && npm test",
"test:node18-test-jest": "cd tests-jest && npm test",
"test:node18-test-jest-ts": "cd tests-jest-ts && npm test",
"test:node18-test-nodets": "cd tests-nodets && npm test",
"test:node18-test-source-map": "cd tests-source-map && npm test",
"test:node18-test-no-loader": "cd tests-no-loader && npm test",
"test:node18:all": "npm run isnodelt18 || npm-run-all test:node18-test*",
"test:nodelt20-test-ava": "cd tests-ava && npm test",
"test:nodelt20:all": "npm run isnodegt19 || npm-run-all test:nodelt20-test*",
"test:all": "npm-run-all test:test* && npm run test:node18:all && npm run test:nodelt20:all",
"test:all-cover": "c8 --src=../src/* npm run test:all",
"test:all-ci": "npm run mini && npm run test:all"
}
}