-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 2.41 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"license": "MIT",
"scripts": {
"prebuild": "rimraf ./dist",
"build:umd": "cross-env NODE_ENV=production BUILD_TARGET=umd webpack",
"build:browser": "cross-env NODE_ENV=production BUILD_TARGET=browser webpack",
"build": "npm run build:umd && npm run build:browser",
"doc": "rimraf ./docs/${npm_package_version} && typedoc --options typedoc.json --out ./docs/${npm_package_version}/",
"doc:latest": "rimraf ./docs/latest && typedoc --options typedoc.json --out ./docs/latest/",
"doc:open": "npm run doc && open docs/${npm_package_version}/index.html",
"lint": "tslint -p .",
"start": "cross-env NODE_ENV=development webpack-dev-server --open",
"test": "jest --config jest.config.json",
"test:watch": "npm run test -- --watchAll",
"test:open": "npm run test && open coverage/lcov-report/index.html",
"test:coveralls": "npm run test -- --coverageReporters=text-lcov | coveralls",
"preversion": "npm run lint && npm run test",
"version": "npm run build && npm run doc && npm run doc:latest",
"postversion": "git add docs/ && git commit -am \"Documentation ${npm_package_version}\" && git push --follow-tags"
},
"dependencies": {},
"devDependencies": {
"@types/jest": "^24.0.0",
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"file-loader": "^4.0.0",
"css-loader": "^3.0.0",
"html-webpack-plugin": "^3.2.0",
"jest": "^23.6.0",
"mini-css-extract-plugin": "^0.8.0",
"rimraf": "^2.6.2",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"ts-jest": "^24.0.0",
"ts-loader": "^5.3.0",
"tslint": "^5.11.0",
"tslint-config-airbnb": "^5.11.0",
"tslint-loader": "^3.5.4",
"typedoc": "^0.15.0",
"typescript": "^3.1.6",
"url-loader": "^2.0.0",
"webpack": "^4.38.0",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.10",
"webpack-hot-client": "^4.1.1",
"webpack-merge": "^4.1.4"
},
"pdor": {
"type": "Vanilla Ts",
"renameOptions": {
"replaceInFiles": [
{
"stubName": "YourLibrary",
"to": ":targetName",
"files": [
"src/index.ts",
"src/init/index.ts",
"src/init/init.test.ts",
"example/index.js",
"example/index.html",
"webpack/webpack.prod.js"
]
}
]
}
}
}