File tree Expand file tree Collapse file tree 4 files changed +10
-9
lines changed Expand file tree Collapse file tree 4 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 1
1
// process
2
- const typeChooserSync = require ( './lib/ process/typeChooser/typeChooserSync' ) ;
3
- const typeChooser = require ( './lib/ process/typeChooser/typeChooser' ) ;
2
+ const typeChooserSync = require ( './process/typeChooser/typeChooserSync' ) ;
3
+ const typeChooser = require ( './process/typeChooser/typeChooser' ) ;
4
4
5
5
// mapping
6
- const generateMappingSync = require ( './lib/ mapping/generateMappingSync' ) ;
7
- const generateMapping = require ( './lib/ mapping/generateMapping' ) ;
8
- const loadMapping = require ( './lib/ mapping/loadMapping' ) ;
6
+ const generateMappingSync = require ( './mapping/generateMappingSync' ) ;
7
+ const generateMapping = require ( './mapping/generateMapping' ) ;
8
+ const loadMapping = require ( './mapping/loadMapping' ) ;
9
9
10
10
// config
11
- const includeConfig = require ( './lib/ config/includeConfig' ) ;
11
+ const includeConfig = require ( './config/includeConfig' ) ;
12
12
13
13
module . exports = {
14
14
process : {
Original file line number Diff line number Diff line change 2
2
"name" : " rename-css-selectors" ,
3
3
"version" : " 3.2.8" ,
4
4
"description" : " Rename css classes and id's in files" ,
5
- "main" : " ./index.js " ,
5
+ "main" : " dest " ,
6
6
"scripts" : {
7
7
"test" : " nyc ava -s" ,
8
8
"build" : " tsc && babel dest -d dest" ,
9
9
"lint" : " eslint lib index.js test" ,
10
10
"fix" : " npm run lint -- --fix" ,
11
+ "prepublish" : " npm run build" ,
11
12
"coveralls" : " nyc report --reporter=text-lcov | coveralls"
12
13
},
13
14
"rcs" : {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import path from 'path';
3
3
import fs from 'fs-extra' ;
4
4
import rcsCore from 'rcs-core' ;
5
5
6
- import rcs from '../' ;
6
+ import rcs from '../lib ' ;
7
7
import reset from './helpers/reset' ;
8
8
9
9
const testCwd = 'test/files/testCache' ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import path from 'path';
3
3
import fs from 'fs-extra' ;
4
4
import rcsCore from 'rcs-core' ;
5
5
6
- import rcs from '../' ;
6
+ import rcs from '../lib ' ;
7
7
import reset from './helpers/reset' ;
8
8
9
9
const testCwd = 'test/files/testCache' ;
You can’t perform that action at this time.
0 commit comments