Skip to content

Commit c635f20

Browse files
committed
feat: init project
0 parents  commit c635f20

File tree

5 files changed

+5879
-0
lines changed

5 files changed

+5879
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
.rts**
3+
dist

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# TSDX Bootstrap
2+
3+
This project was bootstrapped with [TSDX](https://github.com/jaredpalmer/tsdx).
4+
5+
## Local Development
6+
7+
Below is a list of commands you will probably find useful.
8+
9+
### `npm start` or `yarn start`
10+
11+
Runs the project in development/watch mode. Your project will be rebuilt upon changes. TSDX has a special logger for you convenience. Error messages are pretty printed and formatted for compatibility VS Code's Problems tab.
12+
13+
<img src="https://user-images.githubusercontent.com/4060187/52168303-574d3a00-26f6-11e9-9f3b-71dbec9ebfcb.gif" width="600" />
14+
15+
Your library will be rebuilt if you make edits.
16+
17+
### `npm run build` or `yarn build`
18+
19+
Bundles the package to the `dist` folder.
20+
The package is optimized and bundled with Rollup into multiple formats (CommonJS, UMD, and ES Module).
21+
22+
<img src="https://user-images.githubusercontent.com/4060187/52168322-a98e5b00-26f6-11e9-8cf6-222d716b75ef.gif" width="600" />
23+
24+
### `npm test` or `yarn test`
25+
26+
Runs the test watcher (Jest) in an interactive mode.
27+
By default, runs tests related to files changed since the last commit.

package.json

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"name": "zeon",
3+
"version": "0.1.0",
4+
"main": "dist/index.js",
5+
"umd:main": "dist/zeon.umd.production.js",
6+
"module": "dist/zeon.es.production.js",
7+
"typings": "dist/index.d.ts",
8+
"files": [
9+
"dist"
10+
],
11+
"scripts": {
12+
"start": "tsdx watch",
13+
"build": "tsdx build",
14+
"test": "tsdx test"
15+
},
16+
"peerDependencies": {},
17+
"husky": {
18+
"hooks": {
19+
"pre-commit": "pretty-quick --staged"
20+
}
21+
},
22+
"prettier": {
23+
"printWidth": 80,
24+
"semi": true,
25+
"singleQuote": true,
26+
"trailingComma": "es5"
27+
},
28+
"devDependencies": {
29+
"@types/cross-spawn": "^6.0.0",
30+
"@types/debug": "^4.1.4",
31+
"@types/fluent-ffmpeg": "^2.1.9",
32+
"@types/fs-extra": "^7.0.0",
33+
"@types/jest": "^24.0.13",
34+
"@types/lodash": "^4.14.134",
35+
"@types/puppeteer": "^1.12.4",
36+
"@types/qs": "^6.5.3",
37+
"husky": "^2.3.0",
38+
"prettier": "^1.17.1",
39+
"pretty-quick": "^1.10.0",
40+
"tsdx": "^0.5.11",
41+
"tslib": "^1.9.3",
42+
"typescript": "^3.4.5"
43+
},
44+
"dependencies": {
45+
"axios": "^0.19.0",
46+
"cross-spawn": "^6.0.5",
47+
"date-fns": "^1.30.1",
48+
"debug": "^4.1.1",
49+
"fluent-ffmpeg": "^2.1.2",
50+
"fs-extra": "^8.0.1",
51+
"lodash": "^4.17.11",
52+
"puppeteer": "^1.17.0"
53+
}
54+
}

tsconfig.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"include": ["src", "types"],
3+
"compilerOptions": {
4+
"target": "es5",
5+
"module": "esnext",
6+
"lib": ["dom", "esnext"],
7+
"importHelpers": true,
8+
"declaration": true,
9+
"sourceMap": true,
10+
"rootDir": "./",
11+
"strict": true,
12+
"noImplicitAny": true,
13+
"strictNullChecks": true,
14+
"strictFunctionTypes": true,
15+
"strictPropertyInitialization": true,
16+
"noImplicitThis": true,
17+
"alwaysStrict": true,
18+
"noUnusedLocals": true,
19+
"noUnusedParameters": true,
20+
"noImplicitReturns": true,
21+
"noFallthroughCasesInSwitch": true,
22+
"moduleResolution": "node",
23+
"baseUrl": "./",
24+
"paths": {
25+
"*": ["src/*", "node_modules/*"]
26+
},
27+
"jsx": "react",
28+
"esModuleInterop": true
29+
}
30+
}

0 commit comments

Comments
 (0)