Skip to content

Commit 6516ec4

Browse files
committed
Improve tooling.
1 parent 004368c commit 6516ec4

File tree

10 files changed

+9
-27
lines changed

10 files changed

+9
-27
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
node_modules/
22
dist/
33
package-lock.json
4+
*.lock
45
*.log.*
56
*.log
67
*.tgz

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ test/
33
src/
44
package-lock.json
55
.travis.yml
6+
*.lock
67
*.log.*
78
*.log
89
*.tgz

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2017-2018 BusFaster Ltd
3+
Copyright (c) 2017- BusFaster Ltd
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,4 +340,4 @@ License
340340

341341
[The MIT License](https://raw.githubusercontent.com/charto/classy-mst/master/LICENSE)
342342

343-
Copyright (c) 2017-2018 BusFaster Ltd
343+
Copyright (c) 2017- BusFaster Ltd

classy-mst.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
},
3636
"devDependencies": {
3737
"@types/node": "^10.12.1",
38+
"autoroll": "~0.0.1",
3839
"mobx": "^4.5.2",
3940
"mobx-state-tree": "^3.7.1",
4041
"rollup": "^0.66.6",

rollup.config.js

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1 @@
1-
const pkg = require('./package.json');
2-
3-
module.exports = {
4-
input: pkg.module,
5-
external: [
6-
'mobx-state-tree'
7-
],
8-
output: [
9-
{
10-
file: pkg.main,
11-
format: 'cjs'
12-
}, {
13-
file: pkg.browser,
14-
name: pkg.name,
15-
globals: {
16-
'mobx-state-tree': 'mobxStateTree'
17-
},
18-
format: 'umd'
19-
}
20-
]
21-
};
1+
module.exports = require('autoroll')(require('./package.json'));

src/classy-mst.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file is part of classy-mst, copyright (c) 2017-2018 BusFaster Ltd.
1+
// This file is part of classy-mst, copyright (c) 2017- BusFaster Ltd.
22
// Released under the MIT license, see LICENSE.
33

44
import { IObservableArray } from 'mobx';

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file is part of classy-mst, copyright (c) 2017-2018 BusFaster Ltd.
1+
// This file is part of classy-mst, copyright (c) 2017- BusFaster Ltd.
22
// Released under the MIT license, see LICENSE.
33

44
export {

test/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"compilerOptions": {
44
"declaration": true,
55
"experimentalDecorators": true,
6-
"lib": [ "es5", "es2015.core", "es2015.collection", "es2015.promise", "es2015.symbol.wellknown" ],
6+
"lib": [ "es2015" ],
77
"module": "commonjs",
88
"moduleResolution": "node",
99
"noImplicitAny": true,

0 commit comments

Comments
 (0)