forked from glipecki/optional-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
43 lines (43 loc) · 1.71 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
{
"name": "@consdata/optional",
"version": "1.1.0",
"description": "Optional implementation for TypeScript projects",
"repository": "[email protected]:Consdata/optional.git",
"author": "Grzegorz Lipecki <[email protected]>",
"license": "MIT",
"main": "dist/index.umd.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"scripts": {
"tsc": "tsc",
"lib-upgrade": "yarn upgrade-interactive --latest",
"test": "jest",
"lint": "tslint 'src/**/*.ts' -p src/tsconfig.lib.json",
"prebuild": "rimraf .build && rimraf dist",
"postbuild": "rimraf .build",
"build:compile": "tsc -p src/tsconfig.lib.json",
"build:test": "yarn test --coverage --coverageDirectory '../dist/coverage'",
"build:lint": "yarn lint",
"build:bundle": "rollup -c rollup.config.js",
"build:dist": "copyfiles -u 3 '.build/**/*.d.ts' dist",
"build:coverage": "cat dist/coverage/lcov.info | coveralls",
"build": "yarn build:compile && yarn build:lint && yarn build:test && yarn build:bundle && yarn docs && yarn build:dist",
"watch": "tsc -p src/tsconfig.lib.json -w --no-emit",
"docs": "typedoc --out dist/docs --theme default --tsconfig src/tsconfig.lib.json --excludePrivate --excludeProtected --exclude '**/*.spec.ts' src",
"release": "yarn build && yarn publish --minor --non-interactive --access public && git push && git push --tags"
},
"devDependencies": {
"@types/jest": "28.1.0",
"concurrently": "7.2.1",
"copyfiles": "2.4.1",
"coveralls": "3.1.1",
"jest": "28.1.0",
"rimraf": "3.0.2",
"rollup": "2.75.5",
"rollup-plugin-cleanup": "^3.2.1",
"ts-jest": "28.0.3",
"tslint": "6.1.3",
"typedoc": "0.22.17",
"typescript": "4.7.2"
}
}