remove full suffix from dist files

This commit is contained in:
Roman Hotsiy 2016-01-24 23:15:04 +02:00
parent b6e15322ca
commit 550541eb17
6 changed files with 5921 additions and 5 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "redoc", "name": "redoc",
"description": "Swagger-generated API Reference Documentation", "description": "Swagger-generated API Reference Documentation",
"main": "dist/redoc.full.min.js", "main": "dist/redoc.min.js",
"authors": [ "authors": [
"Roman Hotsiy" "Roman Hotsiy"
], ],

View File

@ -3,7 +3,7 @@ module.exports = {
html: 'lib/**/*.html', html: 'lib/**/*.html',
scss: 'lib/**/*.scss', scss: 'lib/**/*.scss',
sourceEntryPoint: 'lib/index.js', sourceEntryPoint: 'lib/index.js',
outputName: 'redoc.full', outputName: 'redoc',
output: 'dist/', output: 'dist/',
tmp: '.tmp/', tmp: '.tmp/',
demo: 'demo/**/*', demo: 'demo/**/*',

View File

@ -17,7 +17,7 @@
<redoc scroll-y-offset="body > nav" spec-url='swagger.json'></redoc> <redoc scroll-y-offset="body > nav" spec-url='swagger.json'></redoc>
<!-- ReDoc built file with all dependencies included --> <!-- ReDoc built file with all dependencies included -->
<script src="dist/redoc.full.js"> </script> <script src="dist/redoc.js"> </script>
<script src="main.js"> </script> <script src="main.js"> </script>
</body> </body>
</html> </html>

5916
demo/rebilly.json Normal file

File diff suppressed because it is too large Load Diff

View File

@ -6,7 +6,7 @@
"type": "git", "type": "git",
"url": "git://github.com/Rebilly/ReDoc" "url": "git://github.com/Rebilly/ReDoc"
}, },
"main": "dist/redoc.full.min.js", "main": "dist/redoc.min.js",
"scripts": { "scripts": {
"test": "gulp lint && ./build/run_tests.sh", "test": "gulp lint && ./build/run_tests.sh",
"prepublish": "gulp build", "prepublish": "gulp build",

View File

@ -10,7 +10,7 @@
</redoc> </redoc>
<!-- ReDoc built file with all dependencies included --> <!-- ReDoc built file with all dependencies included -->
<script src="dist/redoc.full.min.js"> </script> <script src="dist/redoc.min.js"> </script>
<script> <script>
window.redocError = null; window.redocError = null;
/* init redoc */ /* init redoc */