@machinat/simple-state
Advanced tools
Comparing version
{ | ||
"name": "@machinat/simple-state", | ||
"version": "0.3.0-beta.1", | ||
"version": "0.3.0-beta.2", | ||
"author": "Patrick Liu <zeldalink0515@gmail.com> (https://github.com/lrills)", | ||
@@ -16,3 +16,4 @@ "repository": { | ||
"./file": "./lib/file/index.js", | ||
"./inMemory": "./lib/inMemory/index.js" | ||
"./inMemory": "./lib/inMemory/index.js", | ||
"./types": "./lib/types.js" | ||
}, | ||
@@ -37,3 +38,3 @@ "files": [ | ||
}, | ||
"gitHead": "0dfc529f2f40682c24461a87d45898bdd58caed3" | ||
"gitHead": "60264eb16cd0bc4b4d3d262787e20b669e9ff04f" | ||
} |
#!/usr/bin/env node | ||
'use strict'; | ||
var fs = require('fs'); | ||
if (process.cwd().indexOf('node_modules') === -1) { | ||
@@ -8,4 +10,2 @@ process.exit(0); | ||
var fs = require('fs'); | ||
fs.symlinkSync('./lib/file/index.js', './file.js'); | ||
@@ -15,1 +15,3 @@ fs.symlinkSync('./lib/file/index.d.ts', './file.d.ts'); | ||
fs.symlinkSync('./lib/inMemory/index.d.ts', './inMemory.d.ts'); | ||
fs.symlinkSync('./lib/types.js', './types.js'); | ||
fs.symlinkSync('./lib/types.d.ts', './types.d.ts'); |
38858
0.34%487
0.41%