-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
55 lines (55 loc) · 2.38 KB
/
package.json
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
{
"name": "@prezly/progress-promise",
"version": "2.0.1",
"description": "Promise implementation that can report progress",
"license": "MIT",
"main": "build/commonjs/ProgressPromise.cjs",
"module": "build/esm/ProgressPromise.mjs",
"types": "build/types/ProgressPromise.d.ts",
"exports": {
".": {
"types": "./build/types/ProgressPromise.d.ts",
"import": "./build/esm/ProgressPromise.mjs",
"default": "./build/commonjs/ProgressPromise.cjs"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/prezly/progress-promise.git"
},
"bugs": {
"url": "https://github.com/prezly/progress-promise/issues"
},
"homepage": "https://github.com/prezly/progress-promise#readme",
"scripts": {
"build": "npm run build:types && npm run build:esm && npm run build:commonjs",
"build:esm": "tsc --project ./tsconfig.esm.json && renamer --force --find '.js' --replace '.mjs' build/esm/*",
"build:commonjs": "tsc --project ./tsconfig.commonjs.json && renamer --force --find '.js' --replace '.cjs' build/commonjs/*",
"build:types": "tsc --project ./tsconfig.types.json",
"check": "npm run prettier",
"clean": "npm run clean:build && npm run clean:node_modules",
"clean:build": "rimraf build/",
"clean:node_modules": "rimraf node_modules/",
"prettier": "prettier --check './**/*.(js|ts|scss)'",
"prettier:fix": "npm run prettier -- --write --no-list-different",
"test": "npm run test:unit && npm run test:build",
"test:unit": "jest",
"test:build": "npm run test:esm && npm run test:cjs && npm run test:types",
"test:esm": "node build/esm/ProgressPromise.mjs",
"test:cjs": "node build/commonjs/ProgressPromise.cjs",
"test:types": "tsc --noEmit --esModuleInterop build/types/ProgressPromise.d.ts",
"release": "npm run release:prepare && npm run release:publish",
"release:prepare": "npm run clean && npm install && npm run build && npm run check && npm run test",
"release:publish": "np --no-2fa"
},
"devDependencies": {
"@types/jest": "^28.1.0",
"jest": "^28.1.0",
"np": "^7.6.1",
"prettier": "^2.2.1",
"renamer": "^4.0.0",
"rimraf": "^3.0.2",
"ts-jest": "^28.0.4",
"typescript": "^4.2.2"
}
}