Skip to content

Commit 38de979

Browse files
authored
Refactor project setup (#66)
* Refactoring * Refactoring * Fix rollup build * Fixing specs * Remove dist/lib and dist/types from git * Make test suite running * Current build * optimizations * Bugfixes * Fix pluralization/singularization * Change docs * Latest build * Fix travis ci config
1 parent ae5dddd commit 38de979

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+6947
-91182
lines changed

.babelrc

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
2-
"presets": ["env", "stage-2"],
3-
4-
"plugins": ["transform-runtime"]
2+
"presets": [
3+
[
4+
"env",
5+
{
6+
"modules": false
7+
}
8+
]
9+
]
510
}

.editorconfig

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ insert_final_newline = true
66
trim_trailing_whitespace = true
77
indent_style = space
88
indent_size = 2
9+
charset = utf-8
10+
max_line_length = 100
911

1012
[*.md]
1113
trim_trailing_whitespace = false

.gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,11 @@ typings/
6464

6565
# docs
6666
/docs/.vuepress/dist
67+
68+
69+
compiled
70+
.awcache
71+
.rpt2_cache
72+
73+
/dist/lib
74+
/dist/types

.travis.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
language: node_js
22
node_js:
3-
- "8"
3+
- node
44
cache:
55
yarn: true
66
directories:
7-
- "node_modules"
7+
- node_modules
88
script:
9-
- npm run lint
10-
- npm run test
11-
- npm run coverage
12-
- cat ./coverage/lcov.info | ./node_modules/.bin/codecov
9+
- npm test && npm run build
10+
after_success:
11+
- npm run docs:deploy
12+

LICENSE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018 Kia Ishii
3+
Copyright (c) 2018 phortx <[email protected]>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
66

build/build.js

-97
This file was deleted.

build/configs.js

-69
This file was deleted.

0 commit comments

Comments
 (0)